Abstraction for the glider class
Diff: Glider.h
- Revision:
- 1:7039ae86fe70
- Parent:
- 0:4e6b53a7bd38
- Child:
- 2:cc07e65227ff
--- a/Glider.h Sun Apr 09 05:05:52 2017 +0000 +++ b/Glider.h Mon Apr 10 17:33:41 2017 +0000 @@ -11,17 +11,21 @@ class Glider { public: Serial* dev; + Serial* xbee; double heading; float pressure; float temp; float alt; - string telemetry; + time_t startTime; + time_t missionTime; HMC5883L* hmc; BMP180* bmp; - Glider(Serial* device, PinName sda, PinName scl); + Glider(Serial* device, PinName sda, PinName scl, PinName tx, PinName rx); void setHeading(); void setTempPress(); + void setMissionTime(); void saveTelem(); + void transmitPacket(); }; -#endif \ No newline at end of file +#endif