From e1954b5f25ea3f139f49206023c14e0978ff39cc Mon Sep 17 00:00:00 2001
From: awatlet <arnaud.watlet@umons.ac.be>
Date: Mon, 9 Oct 2023 10:44:48 +0200
Subject: [PATCH] Updates config mb.2024_0_2

---
 configs/config_mb_2024_0_2.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/configs/config_mb_2024_0_2.py b/configs/config_mb_2024_0_2.py
index f9fa2ec6..eb9ec7a4 100644
--- a/configs/config_mb_2024_0_2.py
+++ b/configs/config_mb_2024_0_2.py
@@ -22,13 +22,15 @@ HARDWARE_CONFIG = {
     'pwr': {'model': 'pwr_batt', 'voltage': 12.},
     'tx':  {'model': 'mb_2024_rev_0_2',
              'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4800 / 50 / 2,  # Maximum current supported by the TX board [mA]
-             'r_shunt': 2  # Shunt resistance in Ohms
+             'current_max': 4800,  # Maximum voltage read by the current ADC on the TX board [mA]
+             'r_shunt': 2,  # Shunt resistance in Ohms
+             'interface_name': 'i2c'
             },
     'rx':  {'model': 'mb_2024_rev_0_2',
              'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
              'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50  # number of samples per second
+             'sampling_rate': 50,  # number of samples per second
+             'interface_name': 'i2c'
             }
 }
 
-- 
GitLab