![](/media/cache/profiles/8158fa3e4de806e614f7ff02e7b22fde.jpg.50x50_q85.png)
New version of quadcopter software written to OO principles
Dependencies: mbed MODSERIAL filter mbed-rtos ConfigFile PID PPM FreeIMU_external_magnetometer TinyGPS
Status/StatusLights/StatusLights.h
- Committer:
- joe4465
- Date:
- 2015-04-01
- Revision:
- 2:969dfa4f2436
- Parent:
- 0:c6a85bb2a827
File content as of revision 2:969dfa4f2436:
#include "mbed.h" #include "Global.h" #include "rtos.h" #include "Gps.h" #include "Imu.h" #ifndef StatusLights_H #define StatusLights_H class StatusLights { public: StatusLights(); ~StatusLights(); void clear(); void preFlight(); void standby(); void groundReady(); void flying(); void error(); private: int _ledState; DigitalOut* _led1; DigitalOut* _led2; DigitalOut* _led3; DigitalOut* _led4; }; #endif