add while for serial connection to all examples for nrf52840 native usb

This commit is contained in:
hathach committed 2018-10-30 00:48:45 +07:00
1 parent e79a1f0547
commit 5580249807
54 files changed
+83 -18

No files matched your search

@@ -21,6 +21,8 @@ void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(9600);
while ( !Serial ) delay(10); // for nrf52840 with native usb
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port