FastLED 3.10.8
Loading...
Searching...
No Matches

◆ set_power_model() [3/3]

void set_power_model ( const PowerModelRGBWW & model)

Set custom RGBWW LED power consumption model.

Parameters
modelRGBWW power consumption model

The folded model remains active for legacy RGBWW output. Managed output also retains the original five weights for its physical emitted codes.

Definition at line 986 of file power_mgt.cpp.hpp.

986 {
987 // Preserve the legacy folded-RGB estimate while retaining the physical
988 // weights for a managed five-emitter pipeline.
991 gRgbwwEmitterPower().model = model;
993}
static void apply_rgb_power_model(const PowerModelRGB &model) FL_NO_EXCEPT
static RgbwwEmitterPower & gRgbwwEmitterPower() FL_NO_EXCEPT
static WhiteEmitterPower & gWhiteEmitterPower() FL_NO_EXCEPT
PowerModelRGBWW model
constexpr PowerModelRGB toRGB() const FL_NO_EXCEPT
Convert to RGB model (folds W/WW power back into RGB so the brightness limiter doesn't under-budget).
Definition power_mgt.h:142

References apply_rgb_power_model(), RgbwwEmitterPower::declared, FL_NO_EXCEPT, gRgbwwEmitterPower(), gWhiteEmitterPower(), RgbwwEmitterPower::model, and WhiteEmitterPower::mW.

+ Here is the call graph for this function: