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

◆ PowerModelRGBW() [2/2]

PowerModelRGBW::PowerModelRGBW ( fl::u8 r,
fl::u8 g,
fl::u8 b,
fl::u8 w,
fl::u8 d,
float e = 1.0f )
inlineconstexpr

Custom RGBW power model.

Parameters
rRed channel power (mW)
gGreen channel power (mW)
bBlue channel power (mW)
wWhite channel power (mW)
dDark state power (mW)
eBrightness-to-power response exponent. See PowerModelRGB for details.

Definition at line 76 of file power_mgt.h.

78 : red_mW(r), green_mW(g), blue_mW(b), white_mW(w), dark_mW(d),
79 exponent(e) {}
float exponent
Brightness-to-power response exponent (1.0 = linear)
Definition power_mgt.h:62
fl::u8 green_mW
Green channel power at full brightness (255), in milliwatts.
Definition power_mgt.h:58
fl::u8 dark_mW
Dark LED baseline power consumption, in milliwatts.
Definition power_mgt.h:61
fl::u8 blue_mW
Blue channel power at full brightness (255), in milliwatts.
Definition power_mgt.h:59
fl::u8 white_mW
White channel power at full brightness (255), in milliwatts.
Definition power_mgt.h:60
fl::u8 red_mW
Red channel power at full brightness (255), in milliwatts.
Definition power_mgt.h:57

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