From 95f4f95ab80b06bf043750c220c66e7b7f00f898 Mon Sep 17 00:00:00 2001
From: Arnaud Watlet <arnaud.watlet@umons.ac.be>
Date: Thu, 24 Aug 2023 11:28:34 +0200
Subject: [PATCH] Changes i2c bus definition to enable second i2c bus for MUX
 boards

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

diff --git a/config.py b/config.py
index 514dcd28..5f0e2e5d 100644
--- a/config.py
+++ b/config.py
@@ -25,7 +25,7 @@ OHMPI_CONFIG = {
 
     'board_version': 'mb.2023.0.0',#,'22.10',
     'mcp_board_address': 0x21,
-    'i2c_mux_address': 2,  # 2 if on same bus as the measurement board, 4 if additional bus
+    'i2c_mux_address': 4,  # 2 if on same bus as the measurement board, 4 if additional bus
     'vmn_hardware_offset': 2502, # offset for the ads channel U0 voltage
     
 }  # TODO: add a dictionary with INA models and associated gain values
-- 
GitLab