GPS

Dependencies:   GPS mbed

Fork of GPS_HelloWorld by Simon Ford

Files at this revision

API Documentation at this revision

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);