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

◆ getAdjustmentData()

ColorAdjustment CLEDController::getAdjustmentData ( uint8_t brightness)

Definition at line 32 of file cled_controller.cpp.

32 {
33 // *premixed = getAdjustment(brightness);
34 // if (color_correction) {
35 // *color_correction = getAdjustment(255);
36 // }
37 #if FASTLED_HD_COLOR_MIXING
38 ColorAdjustment out = {this->getAdjustment(brightness), this->getAdjustment(255), brightness};
39 #else
40 ColorAdjustment out = {getAdjustment(brightness)};
41 #endif
42 return out;
43}
UISlider brightness("Brightness", 255, 0, 255, 1)
CRGB getAdjustment(uint8_t scale)
Get the combined brightness/color adjustment for this controller.

References brightness, and getAdjustment().

Referenced by CPixelLEDController< RGB_ORDER, LANES, MASK >::show(), and CPixelLEDController< RGB_ORDER, LANES, MASK >::showColor().

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