PROGRAMA SIMPLE QUE LEE UNA TRAMA DE GPS Y LA PONE EN PANTALLA DE LA TERMINAL DEL PC

Dependencies:   GPS7 mbed

Fork of GPS_Google_Cadenas by Gustavo Ramirez

Revision:
1:99bb5d61015f
Parent:
0:6b7345059afe
Child:
2:5abd8a794703
diff -r 6b7345059afe -r 99bb5d61015f main.cpp
--- a/main.cpp	Tue Jun 08 14:12:30 2010 +0000
+++ b/main.cpp	Mon Oct 20 05:42:03 2014 +0000
@@ -2,13 +2,14 @@
 #include "GPS.h"
 
 Serial pc(USBTX, USBRX);
-GPS gps(p9, p10);
+GPS gps(PTE22, PTE23);
 
 int main() {
     while(1) {
         if(gps.sample()) {
             pc.printf("I'm at %f, %f\n", gps.longitude, gps.latitude);
         } else {
+            
             pc.printf("Oh Dear! No lock :(\n");
         }
     }