GPSlibrary

GPS.h

Committer:
takepiyo
Date:
2019-08-18
Revision:
4:0893111db5e7
Parent:
1:432f77f0d864

File content as of revision 4:0893111db5e7:

#include "mbed.h"

#ifndef GPS_CLASS_H
#define GPS_CLASS_H


class GPS
{

private:
    I2C _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);
    char getGPGGA();
    int GPSread;
    char GPSMessage[128];
    //char errorMessage[128];
    char getGPS[128];
    //int i=0; 

};

#endif