From 133b1c1d787dc3c36d49ecf8d034f37503f9fa22 Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Tue, 10 Oct 2023 15:40:30 +0200
Subject: [PATCH] Searches for run_measurement error

---
 ohmpi/hardware_components/mb_2023_0_X.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/ohmpi/hardware_components/mb_2023_0_X.py b/ohmpi/hardware_components/mb_2023_0_X.py
index 98b7c855..288f5502 100644
--- a/ohmpi/hardware_components/mb_2023_0_X.py
+++ b/ohmpi/hardware_components/mb_2023_0_X.py
@@ -103,11 +103,6 @@ class Tx(TxAbstract):
         self.polarity = 0
         self.gain = 2 / 3
 
-        # MCP23008 pins for LEDs
-        # self.pin4 = self.mcp_board.get_pin(4)  # TODO: Delete me? No LED on this version of the board
-        # self.pin4.direction = Direction.OUTPUT
-        # self.pin4.value = True
-
         self.exec_logger.event(f'{self.board_name}\ttx_init\tend\t{datetime.datetime.utcnow()}')
 
     @property
@@ -161,6 +156,7 @@ class Tx(TxAbstract):
 
     @polarity.setter
     def polarity(self, polarity):
+        print(f'mcp address : {self.mcp_board._device.device_address}')
         assert polarity in [-1, 0, 1]
         self._polarity = polarity
         if polarity == 1:
-- 
GitLab