WS2801-Pi
Search…
Overview
Installation
Wiring
Usage
Example Animation
Functions
Changelog
Functions
Constructor
getLedStrip
setLed
fillLeds
setBrightness
setBrightness
getBrightness
setLedStrip
onLedStripChanged
onBrightnessChanged
clearLeds
show
Types
Ws2801PiConfig
ClockSpeed
LedColor
LedStrip
Powered By
GitBook
fillLeds
Changes the color of the LED strip.
Parameters
color
The color the LED strip should become.
LedColor
Example
1
const red = {
2
red: 255,
3
green: 0,
4
blue: 0,
5
};
6
7
ledController.fillLeds(red);
Copied!
Functions - Previous
setLed
Next - Functions
setBrightness
Last modified
1yr ago
Copy link
Contents
Parameters
Example