Skip to content

Commit 8546ac5

Browse files
committed
reduce excess newlines. fix header
1 parent 9ce89f0 commit 8546ac5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/GPS_HardwareSerial_Parsing/GPS_HardwareSerial_Parsing.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void setup()
3636
// connect at 115200 so we can read the GPS fast enough and echo without dropping chars
3737
// also spit it out
3838
Serial.begin(115200);
39-
Serial.println("Adafruit GPS library basic test!");
39+
Serial.println("Adafruit GPS library basic parsing test!");
4040

4141
// 9600 NMEA is the default baud rate for Adafruit MTK GPS's- some use 4800
4242
GPS.begin(9600);
@@ -72,7 +72,7 @@ void loop() // run over and over again
7272
// a tricky thing here is if we print the NMEA sentence, or data
7373
// we end up not listening and catching other sentences!
7474
// so be very wary if using OUTPUT_ALLDATA and trying to print out data
75-
Serial.println(GPS.lastNMEA()); // this also sets the newNMEAreceived() flag to false
75+
Serial.print(GPS.lastNMEA()); // this also sets the newNMEAreceived() flag to false
7676
if (!GPS.parse(GPS.lastNMEA())) // this also sets the newNMEAreceived() flag to false
7777
return; // we can fail to parse a sentence in which case we should just wait for another
7878
}
@@ -110,4 +110,4 @@ void loop() // run over and over again
110110
Serial.print("Satellites: "); Serial.println((int)GPS.satellites);
111111
}
112112
}
113-
}
113+
}

0 commit comments

Comments
 (0)