WS2801-Pi
Search…
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!
Last modified 1yr ago
Copy link