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

◆ PowerModelRGB() [1/2]

PowerModelRGB::PowerModelRGB ( )
inlineconstexpr

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

Definition at line 35 of file power_mgt.h.

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

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