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

◆ set_power_model() [2/3]

void set_power_model ( const PowerModelRGBW & model)
inline

Set custom RGBW LED power consumption model.

Parameters
modelRGBW 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 186 of file power_mgt.h.

186 {
187 set_power_model(model.toRGB()); // TODO: Implement RGBW power model.
188}
void set_power_model(const PowerModelRGB &model)
Set custom RGB LED power consumption model.
constexpr PowerModelRGB toRGB() const
Convert to RGB model (extracts RGB components, preserves exponent)
Definition power_mgt.h:83

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

+ Here is the call graph for this function: