 |
Dezibot 4
|
Go to the documentation of this file.
11 #ifndef MultiColorLight_h
12 #define MultiColorLight_h
13 #include <Adafruit_NeoPixel.h>
88 void setTopLeds(uint8_t red, uint8_t green, uint8_t blue);
121 uint32_t
color(uint8_t r, uint8_t g, uint8_t b);
139 #endif //MultiColorLight_h
void turnOffLed(leds leds=ALL)
turn off the given leds
uint32_t color(uint8_t r, uint8_t g, uint8_t b)
wrapper to calulate the used colorformat from a rgb-value
void blink(uint16_t amount, uint32_t color=0x00006400, leds leds=TOP, uint32_t interval=1000)
Let LEDs blink, returns after all blinks were executed.
static const uint8_t maxBrightness
Adafruit_NeoPixel rgbLeds
leds
Describes combinations of leds on the Dezibot. With the Robot in Front of you, when the robot drives ...
void setLed(uint8_t index, uint32_t color)
Set the specified led to the passed color.
void setTopLeds(uint32_t color)
sets the two leds on the top of the robot to the specified color
void begin(void)
initialize the multicolor component
static const int16_t ledPin
static const uint16_t ledAmount