|
@ -2,6 +2,8 @@ |
|
|
BlinkM.cpp - Library for controlling a BlinkM over i2c |
|
|
BlinkM.cpp - Library for controlling a BlinkM over i2c |
|
|
Created by Tim Koster, August 21 2013. |
|
|
Created by Tim Koster, August 21 2013. |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
#ifdef BLINKM |
|
|
|
|
|
|
|
|
#if (ARDUINO >= 100) |
|
|
#if (ARDUINO >= 100) |
|
|
# include "Arduino.h" |
|
|
# include "Arduino.h" |
|
|
#else |
|
|
#else |
|
@ -22,3 +24,5 @@ void SendColors(byte red, byte grn, byte blu) |
|
|
Wire.endTransmission(); |
|
|
Wire.endTransmission(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#endif //BLINKM
|
|
|
|
|
|
|
|
|