ver1

Dependents:   EM_ver1 template FM_ver3_for_ARLISS FM_ver3_for_test

Committer:
Nerosho
Date:
Mon Sep 02 14:16:30 2019 +0000
Revision:
7:a7d233fc6578
Parent:
5:c9ab983a9b3b
0902;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Nerosho 0:3d25bc7ff80e 1 #include "mbed.h"
Nerosho 0:3d25bc7ff80e 2
takepiyo 2:e3c59956d8ce 3 #ifndef GPS_CLASS_H
takepiyo 2:e3c59956d8ce 4 #define GPS_CLASS_H
Nerosho 1:432f77f0d864 5
Nerosho 0:3d25bc7ff80e 6
Nerosho 0:3d25bc7ff80e 7 class GPS
Nerosho 0:3d25bc7ff80e 8 {
Nerosho 0:3d25bc7ff80e 9
Nerosho 0:3d25bc7ff80e 10 private:
Nerosho 1:432f77f0d864 11 Serial _gps;
Nerosho 0:3d25bc7ff80e 12 PinName _tx; //tx pin name which connected to mbed
Nerosho 0:3d25bc7ff80e 13 PinName _rx; //rx pin name which connected to mbed
Nerosho 0:3d25bc7ff80e 14 //char GPSMessage[128];
Nerosho 1:432f77f0d864 15
Nerosho 0:3d25bc7ff80e 16
Nerosho 0:3d25bc7ff80e 17 public:
Nerosho 0:3d25bc7ff80e 18 GPS(PinName tx, PinName rx);
Nerosho 0:3d25bc7ff80e 19 int getGPGGA();
Nerosho 1:432f77f0d864 20 int GPSread;
Nerosho 0:3d25bc7ff80e 21 char GPSMessage[128];
Nerosho 1:432f77f0d864 22 //char errorMessage[128];
Nerosho 1:432f77f0d864 23 char getGPS[128];
Nerosho 5:c9ab983a9b3b 24
Nerosho 5:c9ab983a9b3b 25 char recvGPS;
Nerosho 5:c9ab983a9b3b 26
Nerosho 1:432f77f0d864 27 //int i=0;
Nerosho 0:3d25bc7ff80e 28
Nerosho 0:3d25bc7ff80e 29 };
Nerosho 0:3d25bc7ff80e 30
Nerosho 0:3d25bc7ff80e 31 #endif