修正済みby皆川
Dependencies: mbed Servo cansat_integrated_2 BMP180
Dependents: cansat_integrated_2
Diff: getGPS.h
- Revision:
- 0:e7b7def631c2
diff -r 000000000000 -r e7b7def631c2 getGPS.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/getGPS.h Thu Oct 21 01:58:35 2021 +0000 @@ -0,0 +1,19 @@ +#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