From 35a92e6cace4b63b4299a65f27c919cc3c80395c Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Wed, 11 Oct 2023 08:42:36 +0200 Subject: [PATCH] Implements test with 1 mux --- dev/test_mb_2024_1_mux_2024.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/test_mb_2024_1_mux_2024.py b/dev/test_mb_2024_1_mux_2024.py index 22e3f319..acf5d4d4 100644 --- a/dev/test_mb_2024_1_mux_2024.py +++ b/dev/test_mb_2024_1_mux_2024.py @@ -42,9 +42,9 @@ if stand_alone: tx.polarity = 1 time.sleep(1) tx.polarity = 0 - mux.switch(elec_dict=[1,4,2,3], state='on') + mux.switch(elec_dict={'A':1, 'B':4, 'M':2, 'N':3}, state='on') time.sleep(1) - mux.switch(elec_dict=[1, 4, 2, 3], state='off') + mux.switch(elec_dict={'A':1, 'B':4, 'M':2, 'N':3}, state='off') # mux as part of a OhmPiHardware system if part_of_hardware_system: -- GitLab