GroveGPS Library

Dependents:   GroveGPS-Example

Files at this revision

API Documentation at this revision

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
--- 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') {