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

◆ set_power_model() [3/3]

void set_power_model ( const PowerModelRGBWW & model)
inline

Set custom RGBWW LED power consumption model.

Parameters
modelRGBWW power consumption model
Note
Future API enhancement - currently extracts RGB components only
White channel power is stored but not yet used in calculations

Definition at line 194 of file power_mgt.h.

194 {
195 set_power_model(model.toRGB()); // TODO: Implement RGBWW power model.
196}
void set_power_model(const PowerModelRGB &model)
Set custom RGB LED power consumption model.
constexpr PowerModelRGB toRGB() const
Convert to RGB model (folds W/WW power back into RGB so the brightness limiter doesn't under-budget).
Definition power_mgt.h:134

References set_power_model(), and PowerModelRGBWW::toRGB().

+ Here is the call graph for this function: