Colin Stearns / Mbed 2 deprecated dgps

Dependencies:   mbed

Committer:
dylanembed123
Date:
Thu Apr 03 16:27:23 2014 +0000
Revision:
6:f0248eb6714d
Parent:
4:c75d5e5e6bfc
Fix compile errors;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dylanembed123 4:c75d5e5e6bfc 1 #ifndef _HANDLEGPS_H_
dylanembed123 4:c75d5e5e6bfc 2 #define _HANDLEGPS_H_
dylanembed123 4:c75d5e5e6bfc 3
dylanembed123 4:c75d5e5e6bfc 4 #include "adapt/usb.h"
dylanembed123 6:f0248eb6714d 5 #include "adapt/gps.h"
dylanembed123 4:c75d5e5e6bfc 6 class GPSHandle{
dylanembed123 4:c75d5e5e6bfc 7 private:
dylanembed123 6:f0248eb6714d 8 GPS gps;
dylanembed123 4:c75d5e5e6bfc 9 bool initialized;
dylanembed123 4:c75d5e5e6bfc 10
dylanembed123 4:c75d5e5e6bfc 11 /// \brief Setup
dylanembed123 4:c75d5e5e6bfc 12 void setup();
dylanembed123 4:c75d5e5e6bfc 13 /// \brief Update the GPS locations
dylanembed123 4:c75d5e5e6bfc 14 void update();
dylanembed123 4:c75d5e5e6bfc 15 /// \brief Check if it is time to update
dylanembed123 4:c75d5e5e6bfc 16 bool check();
dylanembed123 4:c75d5e5e6bfc 17 public:
dylanembed123 4:c75d5e5e6bfc 18 /// \brief Constructor
dylanembed123 6:f0248eb6714d 19 GPSHandle():initialized(false){}
dylanembed123 4:c75d5e5e6bfc 20 /// \brief Run an instance of this
dylanembed123 4:c75d5e5e6bfc 21 void run();
dylanembed123 4:c75d5e5e6bfc 22 };
dylanembed123 4:c75d5e5e6bfc 23
dylanembed123 4:c75d5e5e6bfc 24 #endif