SlashDevin / NeoGPS

NMEA and ublox GPS parser for Arduino, configurable to use as few as 10 bytes of RAM
GNU General Public License v3.0
702 stars 195 forks source link

No apparent output from NMEAbenchmark #143

Closed mccgregory closed 3 years ago

mccgregory commented 3 years ago

Compiled and uploaded NMEAbenchmark.ino onto an ESP32, but it ran with no apparent output.

mccgregory commented 3 years ago

I then noticed that ALL the serial outputs were in the SETUP() so would only happen the once... I added: (just after the Serial.begin(9600); line)

while (!Serial) { ; // wait for serial port to connect. This prevents program from running until serial available }

It now waited until the Serial port was available, then ran the Serial outputs giving:

NMEAbenchmark: started fix object size = 44 gps object size = 124 Status,UTC Date/Time,Lat,Lon,Hdg,Spd,Alt,Sats,Rx ok,Rx err,Rx chars, GGA time = 48 3,2000-01-01 09:27:25.000,472852332,85652650,,,49960,8,1024,0,76800, GGA no lat time = 37 3,2000-01-01 09:27:25.000,,,,,49960,8,2048,0,142336, RMC time = 51 3,2002-12-09 08:35:59.000,472852395,85652537,7752,4,,,3072,0,217088,

Hope this helps somebody else.