GroveGPS Library
Revision 2:82fce70de15f, committed 2019-06-04
- Comitter:
- sarahmarshy
- Date:
- Tue Jun 04 21:06:20 2019 +0000
- Parent:
- 1:0607ba3aa02d
- Commit message:
- Provide baud argument for GPS serial connection
Changed in this revision
GroveGPS.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 0607ba3aa02d -r 82fce70de15f GroveGPS.h --- a/GroveGPS.h Thu May 23 16:10:05 2019 +0000 +++ b/GroveGPS.h Tue Jun 04 21:06:20 2019 +0000 @@ -9,7 +9,7 @@ public: - GroveGPS(PinName tx=D1, PinName rx=D0) : _last_line(""), gps_serial(tx, rx) {} + GroveGPS(PinName tx=D1, PinName rx=D0) : _last_line(""), gps_serial(tx, rx, 9600) {} void readCharacter(char newCharacter) { if (newCharacter == '\n') {