Get the combined brightness/color adjustment for this controller.
- Parameters
-
scale | the brightness scale to get the correction for |
- Returns
- a CRGB object representing the total adjustment, including color correction and color temperature
Definition at line 268 of file cled_controller.h.
268 {
270 }
UISlider scale("Scale", 4,.1, 4,.1)
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(uint8_t 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.
Referenced by getAdjustmentData().