Skip to content

Commit 461b862

Browse files
author
rogerclarkmelbourne
committed
Added Serial.begin(115200) to both examples so that they work on non-bootloader boards
1 parent fa94d9f commit 461b862

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

STM32F1/libraries/Wire/examples/i2c_scanner_hwire/i2c_scanner_hwire.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
HardWire HWire(1, I2C_FAST_MODE); // I2c1
3232

3333
void setup() {
34+
Serial.begin(115200);
3435
HWire.begin();
3536
Serial.println("\nI2C Scanner");
3637
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828

2929

3030
void setup() {
31+
32+
Serial.begin(115200);
3133
Wire.begin();
3234
Serial.println("\nI2C Scanner");
3335
}

0 commit comments

Comments
 (0)