Bases: object
API for the LPD8806 RGB LED Strip Controller.
ID: lpd8806
Name: Digital RGB LED Strip Controller
Category: led
Manufacturer: adafruit
Connection: spi
Link:https://www.adafruit.com/product/306 FastPixel* LPD8806 is an
RGB LED strip controller.
C++ includes: lpd8806.hpp
-
getStripLength()[source]
uint16_t
getStripLength(void)
Returns the length of the LED strip
-
name()[source]
std::string name()
Returns the name of the component
-
setPixelColor(pixelOffset, r, g, b)[source]
void
setPixelColor(uint16_t pixelOffset, uint8_t r, uint8_t g, uint8_t b)
pixelOffset: Pixel offset in the strip of the pixel
r: Red LED
g: Green LED
b: Blue LED
-
show()[source]
void show(void)
Writes the data stored in the array of pixels to the chip