|
FastLED 3.9.15
|
RGBWW LED power consumption model (RGB + Cool White + Warm White)
Definition at line 91 of file power_mgt.h.
#include <power_mgt.h>
Public Member Functions | |
| constexpr | PowerModelRGBWW () |
| Default constructor - Hypothetical RGBWW @ 5V estimate, linear response. | |
| constexpr | PowerModelRGBWW (fl::u8 r, fl::u8 g, fl::u8 b, fl::u8 w, fl::u8 ww, fl::u8 d, float e=1.0f) |
| Custom RGBWW power model. | |
| constexpr PowerModelRGB | toRGB () const |
| Convert to RGB model (folds W/WW power back into RGB so the brightness limiter doesn't under-budget). | |
Public Attributes | |
| fl::u8 | blue_mW |
| Blue channel power at full brightness (255), in milliwatts. | |
| fl::u8 | dark_mW |
| Dark LED baseline power consumption, in milliwatts. | |
| float | exponent |
| Brightness-to-power response exponent (1.0 = linear) | |
| fl::u8 | green_mW |
| Green channel power at full brightness (255), in milliwatts. | |
| fl::u8 | red_mW |
| Red channel power at full brightness (255), in milliwatts. | |
| fl::u8 | warm_white_mW |
| Warm white channel power at full brightness (255), in milliwatts. | |
| fl::u8 | white_mW |
| Cool white channel power at full brightness (255), in milliwatts. | |