Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
getGPS.h@21:548ac557ee95, 2019-12-14 (annotated)
- Committer:
- seijakunouenimutou
- Date:
- Sat Dec 14 19:10:57 2019 +0000
- Revision:
- 21:548ac557ee95
- Parent:
- 2:e2b803e3bcbc
cansat
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
YUPPY | 2:e2b803e3bcbc | 1 | #ifndef GPS_H |
YUPPY | 2:e2b803e3bcbc | 2 | #define GPS_H |
YUPPY | 2:e2b803e3bcbc | 3 | |
YUPPY | 2:e2b803e3bcbc | 4 | #define GPSBAUD 9600 //ボーレート |
YUPPY | 2:e2b803e3bcbc | 5 | |
YUPPY | 2:e2b803e3bcbc | 6 | class GPS { |
YUPPY | 2:e2b803e3bcbc | 7 | public: |
YUPPY | 2:e2b803e3bcbc | 8 | GPS(PinName gpstx,PinName gpsrx); |
YUPPY | 2:e2b803e3bcbc | 9 | |
YUPPY | 2:e2b803e3bcbc | 10 | bool getgps(); |
YUPPY | 2:e2b803e3bcbc | 11 | |
YUPPY | 2:e2b803e3bcbc | 12 | double longitude; |
YUPPY | 2:e2b803e3bcbc | 13 | double latitude; |
YUPPY | 2:e2b803e3bcbc | 14 | |
YUPPY | 2:e2b803e3bcbc | 15 | private: |
YUPPY | 2:e2b803e3bcbc | 16 | Serial _gps; |
YUPPY | 2:e2b803e3bcbc | 17 | }; |
YUPPY | 2:e2b803e3bcbc | 18 | |
YUPPY | 2:e2b803e3bcbc | 19 | #endif //GPS_H |
YUPPY | 2:e2b803e3bcbc | 20 |