31 #include "NXShieldI2C.h"
34 #define PILIGHT_RED 0x42
35 #define PILIGHT_GREEN 0x43
36 #define PILIGHT_BLUE 0x44
56 PiLight(uint8_t i2c_address = 0x30);
This class implements I2C interfaces used by NXShield.
Definition: NXShieldI2C.h:32
byte g
Definition: PiLight.h:45
void createPiLight(uint8_t red, uint8_t green, uint8_t blue)
Definition: PiLight.cpp:55
void setTimeout1(uint8_t timeoutValue)
Definition: PiLight.cpp:45
byte r
Definition: PiLight.h:44
void readPiLight(color &currcolor)
Definition: PiLight.cpp:35
PiLight(uint8_t i2c_address=0x30)
Definition: PiLight.cpp:29
byte b
Definition: PiLight.h:46
This class interfaces with PiLight sensor attached to NXShield.
Definition: PiLight.h:52