...
This GPS module outputs data in the form of NMEA strings. These are ASCI strings with GPS relevant data embedded in them. A separate program is used to convert these strings to a useable format. The PICpilot expects the data to be in the form of a structure:
Code Block | ||
---|---|---|
| ||
typedef struct _GPSData { long double latitude; //8 Bytes long double longitude; //8 Bytes float time; //4 Bytes float speed; int altitude; int heading; char satellites; //1 Byte char positionFix; } GPSData; |
...