NOT FINISHED YET!!! My first try to get a self built fully working Quadrocopter based on an mbed, a self built frame and some other more or less cheap parts.
Diff: LED/LED.h
- Revision:
- 32:e2e02338805e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LED/LED.h Tue Apr 02 16:57:56 2013 +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