simple gps lib. no changes made to this yet.
Fork of GPS by
Diff: GPS.cpp
- Revision:
- 1:71e46131743f
- Parent:
- 0:0f423a982334
--- a/GPS.cpp Fri Jul 27 15:07:00 2012 +0000 +++ b/GPS.cpp Fri Jul 19 22:26:45 2013 +0000 @@ -5,7 +5,8 @@ #include "GPS.h" GPS::GPS(PinName tx, PinName rx) : _gps(tx, rx) { - _gps.baud(4800); + _gps.baud(9600); + //_gps.baud(4800); longitude = 0.0; latitude = 0.0; } @@ -61,5 +62,6 @@ } } error("Overflowed message limit"); + error("Maybe you need higher baud rate?"); }