Added Serial.begin(115200) to both examples so that they work on non-bootloader boards
This commit is contained in:
parent
fa94d9f143
commit
461b86207e
|
@ -31,6 +31,7 @@
|
|||
HardWire HWire(1, I2C_FAST_MODE); // I2c1
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
HWire.begin();
|
||||
Serial.println("\nI2C Scanner");
|
||||
}
|
||||
|
|
|
@ -28,6 +28,8 @@
|
|||
|
||||
|
||||
void setup() {
|
||||
|
||||
Serial.begin(115200);
|
||||
Wire.begin();
|
||||
Serial.println("\nI2C Scanner");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue