From 889420d9c79aba260c16d4e95cd502d589c019f0 Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Wed, 26 Apr 2023 15:03:11 +0200
Subject: [PATCH] Tries to implement switch_on in mux_2024

---
 test_mux_2024.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test_mux_2024.py b/test_mux_2024.py
index 3d76ef3f..9b6c8131 100644
--- a/test_mux_2024.py
+++ b/test_mux_2024.py
@@ -5,7 +5,7 @@ from OhmPi.hardware_components.mux_2024_rev_0_0 import Mux, MUX_CONFIG
 from OhmPi.hardware_components import raspberry_pi as controller_module
 
 MUX_CONFIG['controller'] = controller_module.Controller()
-mux = Mux(MUX_CONFIG)
+mux = Mux(**MUX_CONFIG)
 mux.switch_one(elec=1, role='M', state='on')
 time.sleep(2)
 mux.switch_one(elec=1, role='M', state='off')
-- 
GitLab