![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
修正済みby皆川
Dependencies: mbed Servo cansat_integrated_2 BMP180
Dependents: cansat_integrated_2
getGPS.h@12:79946f960100, 2021-11-05 (annotated)
- Committer:
- tsubasa_nakajima
- Date:
- Fri Nov 05 15:41:24 2021 +0000
- Revision:
- 12:79946f960100
- Parent:
- 0:e7b7def631c2
a
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
minanao | 0:e7b7def631c2 | 1 | #ifndef GPS_H |
minanao | 0:e7b7def631c2 | 2 | #define GPS_H |
minanao | 0:e7b7def631c2 | 3 | |
minanao | 0:e7b7def631c2 | 4 | #define GPSBAUD 9600 //ボーレート |
minanao | 0:e7b7def631c2 | 5 | |
minanao | 0:e7b7def631c2 | 6 | class GPS { |
minanao | 0:e7b7def631c2 | 7 | public: |
minanao | 0:e7b7def631c2 | 8 | GPS(PinName gpstx,PinName gpsrx); |
minanao | 0:e7b7def631c2 | 9 | |
minanao | 0:e7b7def631c2 | 10 | bool getgps(); |
minanao | 0:e7b7def631c2 | 11 | |
minanao | 0:e7b7def631c2 | 12 | double longitude; |
minanao | 0:e7b7def631c2 | 13 | double latitude; |
minanao | 0:e7b7def631c2 | 14 | |
minanao | 0:e7b7def631c2 | 15 | private: |
minanao | 0:e7b7def631c2 | 16 | Serial _gps; |
minanao | 0:e7b7def631c2 | 17 | }; |
minanao | 0:e7b7def631c2 | 18 | |
minanao | 0:e7b7def631c2 | 19 | #endif //GPS_H |