Basis for uBlox-7 driver derived from GPS_CanSat

Dependents:   Crunchtrack_GPS_GSM Battlehack_tracker_1_NO

Fork of GPS_CanSat by JST 2011

Revision:
1:a38751ecc25c
Parent:
0:94c22ada3c5a
--- a/GPS.cpp	Sun Jul 01 15:14:45 2012 +0000
+++ b/GPS.cpp	Mon Aug 17 18:17:26 2015 +0000
@@ -1,10 +1,12 @@
 #include "GPS.h"
 
 GPS::GPS(PinName tx, PinName rx) : _gps(tx, rx) {
-    _gps.baud(4800);
-    _gps.printf("$PSRF103,2,0,0,1*26\r\n");
-    _gps.printf("$PSRF103,3,0,0,1*27\r\n");
-    _gps.printf("$PSRF103,4,0,0,1*20\r\n");
+    //_gps.baud(38400);
+    _gps.baud(9600);
+    //_gps.baud(4800);
+    //_gps.printf("$PSRF103,2,0,0,1*26\r\n");
+    //_gps.printf("$PSRF103,3,0,0,1*27\r\n");
+    //_gps.printf("$PSRF103,4,0,0,1*20\r\n");
     flag_gps_get = 0;
     flag_gps_getend = 0;
     _gps.attach(this,&GPS::sample,Serial::RxIrq);