This is a spin receiver for the PAM-7Q GPS. A dedicated cog constantly monitors the PAM serial out pin and updates a number of variables accordingly. Time, Date, Day of Week, Latitude, Logitude, Altitude, Speed and Course, and Satellites in View. A Demo method is included to demonstrate how to fetch and display the variables. This is all in integer arithmetic. This uses RMC, GGA (altitude), and GSV (satellites in view) sentences.
Re-inventing the wheel is not a waste of time if, when you are done, you understand why it is round.