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

@@ -39,6 +39,7 @@ const int chipSelectPin = 7;
void setup() {
Serial.begin(9600);
while ( !Serial ) delay(10); // for nrf52840 with native usb
// start the SPI library:
SPI.begin();