Dependents: Lab3_Surveillance 6adcSerial
GPS.h
00001 #include "mbed.h" 00002 #ifndef MBED_GPS_H 00003 #define MBED_GPS_H 00004 class GPS { 00005 public: 00006 GPS(PinName tx, PinName rx); 00007 int sample(); 00008 float longitude; 00009 float latitude; 00010 private: 00011 float trunc ( float v); 00012 void getline(); 00013 Serial _gps; 00014 char msg[256]; 00015 }; 00016 #endif
Generated on Wed Jul 13 2022 18:12:05 by 1.7.2