FastLED 3.10.8
Loading...
Searching...
No Matches

◆ getAdjustmentData()

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

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

127 {
128 // *premixed = getAdjustment(brightness);
129 // if (color_correction) {
130 // *color_correction = getAdjustment(255);
131 // }
132 #if FASTLED_HD_COLOR_MIXING
133 ColorAdjustment out = {this->getAdjustment(brightness), this->getAdjustment(255), brightness};
134 #else
135 ColorAdjustment out = {getAdjustment(brightness)};
136 #endif
137 return out;
138}
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, fl::FL_NO_EXCEPT, 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: