GPSlibrary

Files at this revision

API Documentation at this revision

Comitter:
takepiyo
Date:
Sun Aug 18 05:06:58 2019 +0000
Parent:
1:432f77f0d864
Child:
3:dc8f7484b379
Child:
5:c9ab983a9b3b
Commit message:
add define

Changed in this revision

GPS.cpp Show annotated file Show diff for this revision Revisions of this file
GPS.h Show annotated file Show diff for this revision Revisions of this file
--- a/GPS.cpp	Tue Jul 30 11:08:55 2019 +0000
+++ b/GPS.cpp	Sun Aug 18 05:06:58 2019 +0000
@@ -1,7 +1,6 @@
+#include "mbed.h"
 #include "GPS.h"
 
-
-
 GPS::GPS(PinName tx, PinName rx):_gps(tx,rx)
 {
     _gps.baud(9600);
--- a/GPS.h	Tue Jul 30 11:08:55 2019 +0000
+++ b/GPS.h	Sun Aug 18 05:06:58 2019 +0000
@@ -1,7 +1,7 @@
 #include "mbed.h"
 
-#ifndef GPS_CLASS
-#define GPS_CLASS
+#ifndef GPS_CLASS_H
+#define GPS_CLASS_H
 
 
 class GPS