Commit 04b54763 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Tries to implement switch_on in mux_2024

Showing with 2 additions and 0 deletions
+2 -0
......@@ -27,6 +27,8 @@ class Mux(MuxAbstract):
self.addresses = {}
for k in x.keys():
y = k.strip('(').strip(')').split(', ')
x[k]['TCA_address'] = int(x[k]['TCA_address'], 16)
x[k]['MCP_address'] = int(x[k]['MCP_address'], 16)
self.addresses.update({(int(y[0]), y[1]): x[k]})
def reset(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment