add while for serial connection to all examples for nrf52840 native usb
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user