LPD8806 Class
- 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.
Item Index
Methods
Methods
LPD8806
(
Number
-
bus
-
csn
-
pixelCount
Instantiates an LPD8806 object
Parameters:
-
bus
NumberSPI bus to use
-
csn
NumberChip select pin
-
pixelCount
NumberNumber of pixels in the strip
Returns:
Number:
setPixelColor
(
-
pixelOffset
-
r
-
g
-
b
Parameters:
-
pixelOffset
NumberPixel offset in the strip of the pixel
-
r
NumberRed LED
-
g
NumberGreen LED
-
b
NumberBlue LED
show
()
Writes the data stored in the array of pixels to the chip
getStripLength
()
Number
Returns the length of the LED strip
Returns:
Number:
name
()
String
Returns the name of the component
Returns:
String: