FastLED 3.10.6
Loading...
Searching...
No Matches

◆ getAdjustmentData()

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

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

124 {
125 // *premixed = getAdjustment(brightness);
126 // if (color_correction) {
127 // *color_correction = getAdjustment(255);
128 // }
129 #if FASTLED_HD_COLOR_MIXING
130 ColorAdjustment out = {this->getAdjustment(brightness), this->getAdjustment(255), brightness};
131 #else
132 ColorAdjustment out = {getAdjustment(brightness)};
133 #endif
134 return out;
135}
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
CRGB getAdjustment(fl::u8 scale) FL_NO_EXCEPT
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: