Skip to content

Commit

Permalink
Fix typo in i2c addr.
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-rouanet committed Apr 24, 2019
1 parent 1051171 commit a464e2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rpi/io_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,11 @@ def motor_short_brake(motor):
'GU5': 0x08,
'FU1': 0x10,
'FU2': 0x20,
'FU4': 0x40,
'FU3': 0x40,
}

mux_address = 0x70
i2c_bus = smbus.SMBus(1)
ground_threshold = 200


def set_i2c_channel(channel):
Expand Down

0 comments on commit a464e2d

Please sign in to comment.