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

◆ getAdjustment()

CRGB CLEDController::getAdjustment ( fl::u8 scale)
inline

Get the combined brightness/color adjustment for this controller.

Parameters
scalethe brightness scale to get the correction for
Returns
a CRGB object representing the total adjustment, including color correction and color temperature

Definition at line 276 of file cled_controller.h.

276 {
278 }
uint16_t scale
Definition Noise.ino:74
CRGB m_ColorCorrection
CRGB object representing the color correction to apply to the strip on show()
CRGB m_ColorTemperature
CRGB object representing the color temperature to apply to the strip on show()
static CRGB computeAdjustment(fl::u8 scale, const CRGB &colorCorrection, const CRGB &colorTemperature)
Calculates the combined color adjustment to the LEDs at a given scale, color correction,...

References CRGB::computeAdjustment(), m_ColorCorrection, m_ColorTemperature, and scale.

+ Here is the call graph for this function: