GPSセンサモジュールの動作確認プログラム
Dependents: sample_GPS_GYSFDMAXB nucleo_sample_GPS_GYSFDMAXB sample_GPS_GYSFDMAXB_for_nucleo CanSat-C
getGPS.h@1:2046f20df896, 2018-07-09 (annotated)
- Committer:
- CanSat_C
- Date:
- Mon Jul 09 08:27:37 2018 +0000
- Revision:
- 1:2046f20df896
- Parent:
- 0:030ffb18f36d
latitude_md, longitude_md?double???
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
CanSat_C | 0:030ffb18f36d | 1 | #ifndef GPS_H |
CanSat_C | 0:030ffb18f36d | 2 | #define GPS_H |
CanSat_C | 0:030ffb18f36d | 3 | |
CanSat_C | 0:030ffb18f36d | 4 | #define GPSBAUD 9600 //ボーレート |
CanSat_C | 0:030ffb18f36d | 5 | |
CanSat_C | 0:030ffb18f36d | 6 | class GPS { |
CanSat_C | 0:030ffb18f36d | 7 | public: |
CanSat_C | 0:030ffb18f36d | 8 | GPS(PinName gpstx,PinName gpsrx); |
CanSat_C | 0:030ffb18f36d | 9 | |
CanSat_C | 0:030ffb18f36d | 10 | bool getgps(); |
CanSat_C | 0:030ffb18f36d | 11 | |
CanSat_C | 0:030ffb18f36d | 12 | double longitude; |
CanSat_C | 0:030ffb18f36d | 13 | double latitude; |
CanSat_C | 0:030ffb18f36d | 14 | |
CanSat_C | 0:030ffb18f36d | 15 | private: |
CanSat_C | 0:030ffb18f36d | 16 | Serial _gps; |
CanSat_C | 0:030ffb18f36d | 17 | }; |
CanSat_C | 0:030ffb18f36d | 18 | |
CanSat_C | 0:030ffb18f36d | 19 | #endif //GPS_H |