From 9b393acbe54031a97b78008bbbd1cdb2f7ecf6d6 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Wed, 26 Apr 2023 18:53:03 +0200 Subject: [PATCH] Implements switch_one in mux_2024 --- test_mux_2024.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_mux_2024.py b/test_mux_2024.py index becef120..7de578c9 100644 --- a/test_mux_2024.py +++ b/test_mux_2024.py @@ -10,7 +10,7 @@ mux.switch_one(elec=1, role='M', state='on') time.sleep(2) mux.switch_one(elec=1, role='M', state='off') 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.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) -- GitLab