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

@@ -31,6 +31,7 @@ void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(115200);
while ( !Serial ) delay(10); // for nrf52840 with native usb
// Start each software serial port
portOne.begin(9600);