Skip to content
This repository was archived by the owner on Jul 25, 2022. It is now read-only.

Commit e58887c

Browse files
committed
Set correct I2C address for IO expander.
1 parent 2d5c9c6 commit e58887c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

robot-control-src/board.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <Arduino.h>
33

44
namespace board {
5-
constexpr std::uint8_t ioExpander1Address = 0x00;
5+
constexpr std::uint8_t ioExpander1Address = 0x20;
66
MCP23017 ioExpander1(ioExpander1Address);
77
MCP23017Pin leftBackwards(ioExpander1, 8+0);
88
MCP23017Pin rightBackwards(ioExpander1, 8+1);

0 commit comments

Comments
 (0)