GPS communication example for LOCOSYS model 1590R-A

Dependents:   GPS_1590R-A

Fork of GPS by Udomsak Boonprasert

Files at this revision

API Documentation at this revision

Comitter:
udomsak
Date:
Fri Sep 27 09:09:57 2013 +0000
Parent:
0:15611c7938a3
Commit message:
Example program for communication with LOCOSYS GPS module model 1590R-A

Changed in this revision

GPS.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 15611c7938a3 -r 077fd91e98f5 GPS.cpp
--- a/GPS.cpp	Tue Jun 08 14:10:27 2010 +0000
+++ b/GPS.cpp	Fri Sep 27 09:09:57 2013 +0000
@@ -23,7 +23,8 @@
 #include "GPS.h"
 
 GPS::GPS(PinName tx, PinName rx) : _gps(tx, rx) {
-    _gps.baud(4800);    
+    //_gps.baud(4800);
+    _gps.baud(57600);    
     longitude = 0.0;
     latitude = 0.0;        
 }