ルンパッパ

Dependencies:   mbed BMP180

Committer:
naruu
Date:
Sat Dec 19 16:22:46 2020 +0000
Revision:
10:c96e83e35ed2
Parent:
1:1dab888e1f3c
ou;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
naruu 1:1dab888e1f3c 1 #ifndef GPS_H
naruu 1:1dab888e1f3c 2 #define GPS_H
naruu 1:1dab888e1f3c 3
naruu 1:1dab888e1f3c 4 #define GPSBAUD 9600 //ボーレート
naruu 1:1dab888e1f3c 5
naruu 1:1dab888e1f3c 6 class GPS {
naruu 1:1dab888e1f3c 7 public:
naruu 1:1dab888e1f3c 8 GPS(PinName gpstx,PinName gpsrx);
naruu 1:1dab888e1f3c 9
naruu 1:1dab888e1f3c 10 bool getgps();
naruu 1:1dab888e1f3c 11
naruu 1:1dab888e1f3c 12 double longitude;
naruu 1:1dab888e1f3c 13 double latitude;
naruu 1:1dab888e1f3c 14
naruu 1:1dab888e1f3c 15 private:
naruu 1:1dab888e1f3c 16 Serial _gps;
naruu 1:1dab888e1f3c 17 };
naruu 1:1dab888e1f3c 18
naruu 1:1dab888e1f3c 19 #endif //GPS_H
naruu 1:1dab888e1f3c 20