8000 Update i2c_scanner_wire.ino · ArduinoWorks/Arduino_STM32@e2a62de · GitHub
[go: up one dir, main page]

Skip to content

Commit e2a62de

Browse files
authored
Update i2c_scanner_wire.ino
1 parent b829117 commit e2a62de

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

STM32F1/libraries/Wire/examples/i2c_scanner_wire/i2c_scanner_wire.ino

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626

2727
#include <Wire.h>
2828

29+
//use IIC2
30+
//TwoWire WIRE2 (2,I2C_FAST_MODE);
31+
//#define Wire WIRE2
32+
2933

3034
void setup() {
3135

@@ -71,4 +75,4 @@ void loop() {
7175
Serial.println("done");
7276

7377
delay(5000); // wait 5 seconds for next scan
74-
}
78+
}

0 commit comments

Comments
 (0)
0