Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of HL_GPS_Example by
main.cpp
- Committer:
- HackerLabATTKit01
- Date:
- 2017-03-17
- Revision:
- 22:9551b2ce17c9
- Parent:
- 21:dfa20810d1d0
File content as of revision 22:9551b2ce17c9:
#include "mbed.h" #include "GwoopsGPS.h" #define GPSBUFFSIZE 256 Serial pc(USBTX, USBRX); // tx, rx Serial sgps(PTC15, PTC14); int main() { pc.printf("Where am I? ----------- \n\r"); sgps.baud(9600); GwoopsGPS xgps(&sgps); xgps.init(); while(1) { if (xgps.isValid()) { pc.printf("\r\n"); xgps.printData(&pc); } else pc.printf("."); } }