WS2801-Pi
Search…
setBrightness
Changes the brightness of the LED strip.
The brightness might be a number between 0 and 100 or 'auto'. 'auto' means the RGB values will define the brightness.
The brightness does not affect the values of the LED strip returned when called getLedStrip.

Parameters

    brightness The brightness of the led strip. number | 'autor'

Example

1
ledController.setBrightness(100);
Copied!
Last modified 9mo ago
Copy link