narumi tatsuya
/
go-went-Carlos_Gone
ニドキング
Diff: getGPS.h
- Revision:
- 1:1dab888e1f3c
diff -r 5cddbcb7193f -r 1dab888e1f3c getGPS.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/getGPS.h Wed Dec 16 07:18:54 2020 +0000 @@ -0,0 +1,20 @@ +#ifndef GPS_H +#define GPS_H + +#define GPSBAUD 9600 //ボーレート + +class GPS { +public: + GPS(PinName gpstx,PinName gpsrx); + + bool getgps(); + + double longitude; + double latitude; + +private: + Serial _gps; +}; + +#endif //GPS_H + \ No newline at end of file