Successful acro and level mode now! Relying on MPU9250 as base sensor. I'm working continuously on tuning and features :) NEWEST VERSION ON: https://github.com/MaEtUgR/FlyBed (CODE 100% compatible/copyable)
Diff: LED/LED.h
- Revision:
- 0:37f0c1e8fa66
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LED/LED.h Tue Sep 08 13:38:10 2015 +0000 @@ -0,0 +1,27 @@ +// by MaEtUgR + +#ifndef LED_H +#define LED_H + +#include "mbed.h" + +class LED { + + public: + LED(); + void shownumber(int number); + void ride(int times); + void roll(int times); + void rollnext(); + void tilt(int index); + void set(int index); + void reset(int index); + int check(int index); + void operator=(int value); + + private: + BusOut Led; + int roller; +}; + +#endif \ No newline at end of file