An fully working IMU-Filter and Sensor drivers for the 10DOF-Board over I2C. All in one simple class. Include, calibrate sensors, call read, get angles. (3D Visualisation code for Python also included) Sensors: L3G4200D, ADXL345, HMC5883, BMP085
Diff: LED/LED.h
- Revision:
- 0:3e7450f1a938
diff -r 000000000000 -r 3e7450f1a938 LED/LED.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LED/LED.h Tue Aug 27 17:37:06 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