Commit 7b8d05bd authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

Merge branch 'code_refactor' of https://gitlab.irstea.fr/reversaal/OhmPi into code_refactor

Showing with 2 additions and 3 deletions
+2 -3
...@@ -589,10 +589,10 @@ class OhmPi(object): ...@@ -589,10 +589,10 @@ class OhmPi(object):
# # call the switch_mux function to switch to the right electrodes # # call the switch_mux function to switch to the right electrodes
# # switch on DPS # # switch on DPS
# self.mcp_board = MCP23008(self.i2c, address=self.mcp_board_address) # self.mcp_board = MCP23008(self.i2c, address=self.mcp_board_address)
# self.pin2 = self.mcp_board.get_pin(2) # dsp - # self.pin2 = self.mcp_board.get_pin(2) # dps -
# self.pin2.direction = Direction.OUTPUT # self.pin2.direction = Direction.OUTPUT
# self.pin2.value = True # self.pin2.value = True
# self.pin3 = self.mcp_board.get_pin(3) # dsp - # self.pin3 = self.mcp_board.get_pin(3) # dps -
# self.pin3.direction = Direction.OUTPUT # self.pin3.direction = Direction.OUTPUT
# self.pin3.value = True # self.pin3.value = True
# time.sleep (4) # time.sleep (4)
...@@ -809,7 +809,6 @@ class OhmPi(object): ...@@ -809,7 +809,6 @@ class OhmPi(object):
else: else:
self._hw.mux_boards[mux_id].test(activation_time=activation_time) self._hw.mux_boards[mux_id].test(activation_time=activation_time)
def reset_mux(self, cmd_id=None): def reset_mux(self, cmd_id=None):
"""Switches off all multiplexer relays. """Switches off all multiplexer relays.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment