A tiny change to SKPanks GPS library to allow Ublox GPS modems to work.

Fork of GPS by Sukkin Pang

Files at this revision

API Documentation at this revision

Comitter:
nherriot
Date:
Thu Jul 25 13:06:07 2013 +0000
Parent:
0:0f423a982334
Commit message:
Change required to allow UBLOX GPS module to work properly.

Changed in this revision

GPS.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/GPS.cpp	Fri Jul 27 15:07:00 2012 +0000
+++ b/GPS.cpp	Thu Jul 25 13:06:07 2013 +0000
@@ -5,7 +5,8 @@
 #include "GPS.h"
 
 GPS::GPS(PinName tx, PinName rx) : _gps(tx, rx) {
-	_gps.baud(4800);	
+	_gps.baud(9000);					// higher baud rate need to support ublox gps chip
+	// _gps.baud(4800);	
 	longitude = 0.0;
 	latitude = 0.0;		
 }