FastLED 3.9.15
Loading...
Searching...
No Matches
FastLED.setPowerModel

Set custom RGB LED power consumption model.

Set custom RGB LED power consumption model

Parameters
modelRGB power consumption model. The model's exponent field drives the brightness-to-power response, so channel weights and the response curve can be configured in a single call:
FastLED.setPowerModel(PowerModelRGB(40, 40, 40, 2, 0.87f));
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
RGB LED power consumption model Used for standard 3-channel LEDs (WS2812, WS2812B,...
Definition power_mgt.h:27
(PowerModelRGB(40, 40, 40, 2));