GPSとXbeeの統合

Dependencies:   mbed

Committer:
KINU
Date:
Wed Oct 30 01:42:40 2019 +0000
Revision:
1:c142b1682312
GPS2

Who changed what in which revision?

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