We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0412958 commit 22c229dCopy full SHA for 22c229d
examples/GPS_HardwareSerial_EchoTest/GPS_HardwareSerial_EchoTest.ino
@@ -20,12 +20,12 @@
20
21
22
void setup() {
23
- // wait for hardware serial to appear
24
- while (!Serial);
25
-
26
// make this baud rate fast enough to we aren't waiting on it
27
Serial.begin(115200);
28
+ // wait for hardware serial to appear
+ while (!Serial) delay(10);
+
29
// 9600 baud is the default rate for the Ultimate GPS
30
GPSSerial.begin(9600);
31
}
0 commit comments