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
Constructor
Parameters
ledAmount
The amount of LEDs in the LED strip
number
config
The configuration for this module
Ws2801PiConfig
[optional]
Example
1
const
amountOfLeds
=
20
;
2
const
config
=
{
3
automaticRendering
:
true
;
4
};
5
6
const
ledController
=
new
LedController
(
amountOfLeds
,
config
);
Copied!
Previous
Changelog
Next - Functions
getLedStrip
Last modified
1yr ago
Copy link
Contents
Parameters
Example