simple gps lib. no changes made to this yet.
Fork of GPS by
Revision 1:71e46131743f, committed 2013-07-19
- Comitter:
- nherriot
- Date:
- Fri Jul 19 22:26:45 2013 +0000
- Parent:
- 0:0f423a982334
- Commit message:
- first commit
Changed in this revision
GPS.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 0f423a982334 -r 71e46131743f GPS.cpp --- 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?"); }