No matter what I attempt, I can never get the date to be displayed correctly.
If I paste my own GPS data into the BasicExample, it outputs correctly. However, none of the other examples will output the date in any other format than day: 00, mon: 00 and year: 2000 when printing it manually using gps.date.day(), month() and year().
I'm not proficient enough in C++ to understand where the parsing is occurring, or what is holding the date from being calculated in any program outside of Basic Example. All other information is displayed correctly while receiving data from my GPS unit live-time.
Is it possible you're not processing the incoming character stream fast enough? This is quite common, especially with 5 or 10 Hz modules. Check the .failedChecksum() counter to see if it's increasing.
No matter what I attempt, I can never get the date to be displayed correctly.
If I paste my own GPS data into the BasicExample, it outputs correctly. However, none of the other examples will output the date in any other format than day: 00, mon: 00 and year: 2000 when printing it manually using
gps.date.day()
,month()
andyear()
.I'm not proficient enough in C++ to understand where the parsing is occurring, or what is holding the date from being calculated in any program outside of Basic Example. All other information is displayed correctly while receiving data from my GPS unit live-time.
Here's a snip of my GPS data:
I've been fiddling with this for hours, and it's the only thing holding me back from being able to move forward.
Great piece of software otherwise though.