Abstraction for the glider class
Diff: Glider.h
- Revision:
- 4:ff59603d9fb6
- Parent:
- 3:d8932a3036a8
- Child:
- 5:460412fc4a17
--- a/Glider.h Thu Apr 13 01:58:17 2017 +0000 +++ b/Glider.h Thu Apr 13 05:44:14 2017 +0000 @@ -8,6 +8,7 @@ #include "BMP180.h" #define BUZZER 'b' +#define FREQ 1.0 class Glider { public: @@ -18,8 +19,10 @@ float temp; float alt; bool comm; + bool transmitFlag; time_t startTime; time_t missionTime; + uint8_t packetCount; HMC5883L* hmc; BMP180* bmp; Glider(Serial* device, PinName sda, PinName scl, PinName tx, PinName rx); @@ -27,6 +30,7 @@ void setHeading(); void setTempPress(); void setMissionTime(); + void setTransmitFlag(); void readTime(); void saveTelem(); void saveData();