Commit f09811a1 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Updates a test in dev for 4 muxes 2024

Showing with 4 additions and 0 deletions
+4 -0
...@@ -15,6 +15,10 @@ if stand_alone_mux: ...@@ -15,6 +15,10 @@ if stand_alone_mux:
MUX_CONFIG['ctl'] = ctl_module.Ctl() MUX_CONFIG['ctl'] = ctl_module.Ctl()
MUX_CONFIG['id'] = 'mux_02' MUX_CONFIG['id'] = 'mux_02'
MUX_CONFIG['cabling'] = {(i, j): ('mux_1', i) for j in ['A', 'B', 'M', 'N'] for i in range(1,9)} MUX_CONFIG['cabling'] = {(i, j): ('mux_1', i) for j in ['A', 'B', 'M', 'N'] for i in range(1,9)}
MUX_CONFIG['tca_address'] = 0x77
MUX_CONFIG['tca_channel'] = 0
MUX_CONFIG['mcp_0'] = '0x22'
MUX_CONFIG['mcp_1'] = '0x23'
mux = Mux(**MUX_CONFIG) mux = Mux(**MUX_CONFIG)
mux.switch_one(elec=1, role='M', state='on') mux.switch_one(elec=1, role='M', state='on')
time.sleep(2) time.sleep(2)
......
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