Hello,
I want to extract the date (dd/mm/yy) from a NMEA gps phrase.
It looks like this: $GPRMC,225446,A,4916.45,N,12311.12,W,000.5,054.7,191194,020.3,E68*
Here the date is November 19, 1994.
I could do by counting where to take the digits but I would prefer, to be sure of the reliability of the result, to position myself after the 9th comma (where the date begins) then extract these 6 digits. But how to do this in Arduino code?
For now the NMEA sentence was enough for me (perfect to be converted into gpx) so I didn't need a library.
I may use this library to improve my project.
But sometimes it might be better to do the code yourself and figure it out?