add while(!Serial) to all examples

This commit is contained in:
hathach committed 2019-03-29 11:01:57 +07:00
1 parent 83c5de0473
commit 3de7530962
6 files changed
+6

No files matched your search

@@ -16,6 +16,7 @@ void setup()
{
Wire.begin(); // join i2c bus (address optional for master)
Serial.begin(9600); // start serial for output
while ( !Serial ) delay(10); // for nrf52840 with native usb
}
void loop()