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

Commit b6408c8

Browse files
committed
Add initialization of I2C for dedicated pins.
1 parent 961999b commit b6408c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

robot-control-src/robot-control-src.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ void setup()
8282
Serial.flush();
8383
delay(100);
8484
Serial.printf("\n begin program '%s'\n", __FILE__);
85+
Wire.begin(board::sda, board::scl);
8586
board::ioExpander1.init();
8687
pinMode(board::debugLed, OUTPUT);
8788
digitalWrite(board::debugLed, LOW);

0 commit comments

Comments
 (0)