Sebastian K.
/
blinkm
Control the BlinkM LED Module via I2C.
Diff: blinkm.h
- Revision:
- 0:97cacd0a950a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/blinkm.h Thu Jun 28 19:35:57 2012 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +class BlinkM +{ +public: + BlinkM(I2C &_i2c, char _adress); + bool StopScript(); + bool PlayScript(char number, char repeats); + bool Fade(char r, char g, char b); +protected: + I2C &i2c; + char adress; +};