GPSlibrary

GPS.h

Committer:
Nerosho
Date:
2019-07-30
Revision:
1:432f77f0d864
Parent:
0:3d25bc7ff80e
Child:
2:e3c59956d8ce
Child:
4:0893111db5e7

File content as of revision 1:432f77f0d864:

#include "mbed.h"

#ifndef GPS_CLASS
#define GPS_CLASS


class GPS
{

private:
    Serial _gps;
    PinName _tx; //tx pin name which connected to mbed
    PinName _rx; //rx pin name which connected to mbed
    //char GPSMessage[128]; 
    

public:
    GPS(PinName tx, PinName rx);
    int getGPGGA();
    int GPSread;
    char GPSMessage[128];
    //char errorMessage[128];
    char getGPS[128];
    //int i=0; 

};

#endif