1
0
Fork 0

wait for serial port before looping

This commit is contained in:
Kevin Matz 2019-07-30 10:15:52 -04:00
parent a26eb6e6df
commit a8b3697d06
1 changed files with 3 additions and 0 deletions

View File

@ -256,6 +256,9 @@ void setup() {
// turn on the serial port
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect
}
}