FastLED 3.10.8
Loading...
Searching...
No Matches

◆ PowerModelRGB() [1/2]

PowerModelRGB::PowerModelRGB ( )
inlineconstexpr

Default constructor - WS2812 @ 5V (16mA/11mA/15mA @ 5V), linear response.

Definition at line 38 of file power_mgt.h.

39 : red_mW(5 * 16), green_mW(5 * 11), blue_mW(5 * 15), dark_mW(5 * 1),
40 exponent(1.0f) {}
fl::u8 blue_mW
Blue channel power at full brightness (255), in milliwatts.
Definition power_mgt.h:33
fl::u8 dark_mW
Dark LED baseline power consumption, in milliwatts.
Definition power_mgt.h:34
fl::u8 red_mW
Red channel power at full brightness (255), in milliwatts.
Definition power_mgt.h:31
float exponent
Brightness-to-power response exponent (1.0 = linear)
Definition power_mgt.h:35
fl::u8 green_mW
Green channel power at full brightness (255), in milliwatts.
Definition power_mgt.h:32

References blue_mW, dark_mW, exponent, FL_NO_EXCEPT, green_mW, and red_mW.