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

Implements test with 1 mux

Showing with 2 additions and 2 deletions
+2 -2
...@@ -42,9 +42,9 @@ if stand_alone: ...@@ -42,9 +42,9 @@ if stand_alone:
tx.polarity = 1 tx.polarity = 1
time.sleep(1) time.sleep(1)
tx.polarity = 0 tx.polarity = 0
mux.switch(elec_dict={'A':1, 'B':4, 'M':2, 'N':3}, state='on') mux.switch(elec_dict={'A': [1], 'B': [4], 'M': [2], 'N': [3]}, state='on')
time.sleep(1) time.sleep(1)
mux.switch(elec_dict={'A':1, 'B':4, 'M':2, 'N':3}, state='off') mux.switch(elec_dict={'A': [1], 'B': [4], 'M': [2], 'N': [3]}, state='off')
# mux as part of a OhmPiHardware system # mux as part of a OhmPiHardware system
if part_of_hardware_system: if part_of_hardware_system:
......
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