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

◆ getAdjustment()

CRGB CLEDController::getAdjustment ( uint8_t 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 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,...
Definition crgb.cpp:25

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

Referenced by getAdjustmentData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: