Added Serial.begin(115200) to both examples so that they work on non-bootloader boards

This commit is contained in:
rogerclarkmelbourne 2015-08-06 17:42:04 +10:00
parent fa94d9f143
commit 461b86207e
2 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,7 @@
HardWire HWire(1, I2C_FAST_MODE); // I2c1
void setup() {
Serial.begin(115200);
HWire.begin();
Serial.println("\nI2C Scanner");
}

View File

@ -28,6 +28,8 @@
void setup() {
Serial.begin(115200);
Wire.begin();
Serial.println("\nI2C Scanner");
}