2020年新入生用 f303-k8
getGPS.h
- Committer:
- MatsumotoKouki
- Date:
- 2020-09-09
- Revision:
- 2:76dcabe38d12
- Parent:
- 0:030ffb18f36d
File content as of revision 2:76dcabe38d12:
#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