add while(!Serial) to all examples
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user