User manual
LPCXpresso Experiment Kit - User’s Guide
Page 122
Copyright 2013 © Embedded Artists AB
//enter forever loop -
while(1)
{
const gpsData* pData = GPSRetreiveData();
displayGpsData(pData);
delayMS(1000);
}
return 0;
}
Base the program on the UART functionality developed in Lab14c and place the GPS related code into
gps.c and gps.h.
Run the program to see the current time and latitude. The latitude settings requires at least four
satellites, so if the latitude remains 0 after a minute then move closer to a window or perhaps take the
board outside.
Extend the program by implementing the functions to at least extract longitude and number of
satellites.
Verify your result by entering the coordinates in for example Google Maps or
http://www.findlatitudeandlongitude.com/find-address-from-latitude-and-longitude/