mirror of
https://github.com/adafruit/Adafruit_GPS.git
synced 2026-10-26 22:10:17 +00:00
swap begin/wait for esp32
This commit is contained in:
1 parent
0412958a6a
commit
22c229d7bf
1 file changed
+3
-3
@@ -20,12 +20,12 @@
|
||||
|
||||
|
||||
void setup() {
|
||||
// wait for hardware serial to appear
|
||||
while (!Serial);
|
||||
|
||||
// make this baud rate fast enough to we aren't waiting on it
|
||||
Serial.begin(115200);
|
||||
|
||||
// wait for hardware serial to appear
|
||||
while (!Serial) delay(10);
|
||||
|
||||
// 9600 baud is the default rate for the Ultimate GPS
|
||||
GPSSerial.begin(9600);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user