Control the BlinkM LED Module via I2C.

Dependencies:   mbed

blinkm.h

Committer:
cody
Date:
2012-06-28
Revision:
0:97cacd0a950a

File content as of revision 0:97cacd0a950a:

#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;
};