From bdd0201422eef24a69cbecdfcceee1d1088ef30d Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Wed, 11 Oct 2023 08:43:40 +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 acf5d4d4..a2ad77bd 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={'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) - 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 if part_of_hardware_system: -- GitLab