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

◆ getAdjustmentData()

ColorAdjustment CLEDController::getAdjustmentData ( fl::u8 brightness)

Definition at line 106 of file cled_controller.cpp.hpp.

106 {
107 // *premixed = getAdjustment(brightness);
108 // if (color_correction) {
109 // *color_correction = getAdjustment(255);
110 // }
111 #if FASTLED_HD_COLOR_MIXING
112 ColorAdjustment out = {this->getAdjustment(brightness), this->getAdjustment(255), brightness};
113 #else
114 ColorAdjustment out = {getAdjustment(brightness)};
115 #endif
116 return out;
117}
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
CRGB getAdjustment(fl::u8 scale) FL_NOEXCEPT
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: