Commit 9b393acb authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Implements switch_one in mux_2024

Showing with 2 additions and 2 deletions
+2 -2
...@@ -10,7 +10,7 @@ mux.switch_one(elec=1, role='M', state='on') ...@@ -10,7 +10,7 @@ mux.switch_one(elec=1, role='M', state='on')
time.sleep(2) time.sleep(2)
mux.switch_one(elec=1, role='M', state='off') mux.switch_one(elec=1, role='M', state='off')
mux.switch({'A': [1], 'B': [4], 'M': [2], 'N': [3]}, state='on') mux.switch({'A': [1], 'B': [4], 'M': [2], 'N': [3]}, state='on')
time.sleep(4) time.sleep(8)
mux.switch({'A': [1], 'B': [4], 'M': [2], 'N': [3]}, state='off') mux.switch({'A': [1], 'B': [4], 'M': [2], 'N': [3]}, state='off')
mux.test({'A': [1, 2, 3, 4], 'B': [4, 5, 6, 7], 'M': [2, 3, 4, 5], 'N': [3, 4, 5, 6]}) # mux.test({'A': [1, 2, 3, 4], 'B': [4, 5, 6, 7], 'M': [2, 3, 4, 5], 'N': [3, 4, 5, 6]})
change_config('config_default.py', verbose=False) change_config('config_default.py', verbose=False)
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