Rafi Cohen
/
GPS_HelloWorld
GPS
Fork of GPS_HelloWorld by
Revision 1:2bfb392113b1, committed 2016-02-24
- Comitter:
- cohenr
- Date:
- Wed Feb 24 06:49:07 2016 +0000
- Parent:
- 0:6b7345059afe
- Commit message:
- GPS;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Jun 08 14:12:30 2010 +0000 +++ b/main.cpp Wed Feb 24 06:49:07 2016 +0000 @@ -4,7 +4,10 @@ Serial pc(USBTX, USBRX); GPS gps(p9, p10); + int main() { + pc.printf ("Hello world"); + while(1) { if(gps.sample()) { pc.printf("I'm at %f, %f\n", gps.longitude, gps.latitude);