GPSとXbeeの統合

Dependencies:   mbed

getGPS.h

Committer:
KINU
Date:
2019-10-30
Revision:
1:c142b1682312

File content as of revision 1:c142b1682312:

#ifndef GPS_H
#define GPS_H
 
#define GPSBAUD 9600 //ボーレート
 
class GPS {
public:
    GPS(PinName gpstx,PinName gpsrx);
    
    bool getgps();
 
    double longitude;
    double latitude;
    
private:
    Serial _gps;
};
 
#endif //GPS_H