narumi tatsuya
/
GPS_program
gps
Diff: getGPS.h
- Revision:
- 0:77bff687ff05
- Child:
- 3:c64909f39383
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/getGPS.h Fri Oct 02 13:48:57 2020 +0000 @@ -0,0 +1,20 @@ +#ifndef GPS_H +#define GPS_H + +#define GPSBAUD 9600 //ボーレートを9600に設定 + +class GPS { +public: + GPS(PinName gpstx,PinName gpsrx); + + bool getgps(); + + double longitude; + double latitude; + +private: + Serial _gps; +}; + +#endif + \ No newline at end of file