Dependents:   Lab3_Surveillance 6adcSerial

Committer:
keerthanasp
Date:
Fri Feb 04 13:13:32 2011 +0000
Revision:
4:c5d054086f2c
Parent:
1:b4de63a99f18

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
keerthanasp 0:14fd31ae13bb 1 #include "mbed.h"
keerthanasp 0:14fd31ae13bb 2 #ifndef MBED_GPS_H
keerthanasp 0:14fd31ae13bb 3 #define MBED_GPS_H
keerthanasp 0:14fd31ae13bb 4 class GPS {
keerthanasp 0:14fd31ae13bb 5 public:
keerthanasp 0:14fd31ae13bb 6 GPS(PinName tx, PinName rx);
keerthanasp 0:14fd31ae13bb 7 int sample();
keerthanasp 0:14fd31ae13bb 8 float longitude;
keerthanasp 0:14fd31ae13bb 9 float latitude;
keerthanasp 0:14fd31ae13bb 10 private:
keerthanasp 0:14fd31ae13bb 11 float trunc ( float v);
keerthanasp 0:14fd31ae13bb 12 void getline();
keerthanasp 1:b4de63a99f18 13 Serial _gps;
keerthanasp 0:14fd31ae13bb 14 char msg[256];
keerthanasp 0:14fd31ae13bb 15 };
keerthanasp 0:14fd31ae13bb 16 #endif