|
FastLED 3.9.15
|
| void set_power_model | ( | const PowerModelRGB & | model | ) |
Set custom RGB LED power consumption model.
| model | RGB power consumption model. The model's exponent field drives the brightness-to-power response curve used by estimation and limiting; pass PowerModelRGB(r, g, b, d, e) to set channel weights + response curve in a single call. |
exponent <= 0 or values within 1e-4 of 1.0 fall back to linear (identity tables) rather than rebuilding with a degenerate curve. Definition at line 275 of file power_mgt.cpp.hpp.
References PowerModelRGB::exponent, gPowerModel(), and kLinearPowerScalingExponent.
Referenced by set_power_model(), set_power_model(), set_power_scaling_exponent(), CFastLED::setPowerModel(), CFastLED::setPowerModel(), and CFastLED::setPowerModel().
Here is the call graph for this function:
Here is the caller graph for this function: