fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
fl::span< CRGB > getLEDs() FL_NO_EXCEPT override
Get the LED array as a span.
~FastLEDAdapter() FL_NO_EXCEPT override=default
Destructor.
void setCorrection(CRGB correction) FL_NO_EXCEPT override
Set color correction.
size_t getNumLEDs() const FL_NO_EXCEPT override
Get the number of LEDs.
void setMaxRefreshRate(u16 fps) FL_NO_EXCEPT override
Set the maximum refresh rate.
void clearSegment() FL_NO_EXCEPT override
Clear the segment range (operate on full LED array)
void show() FL_NO_EXCEPT override
Send the LED data to the strip Uses the current brightness setting.
void clear(bool writeToStrip=false) FL_NO_EXCEPT override
Clear all LEDs (set to black)
void setTemperature(CRGB temperature) FL_NO_EXCEPT override
Set color temperature.
void delay(unsigned long ms) FL_NO_EXCEPT override
Delay for a specified number of milliseconds.
FastLEDAdapter(u8 controllerIndex=0) FL_NO_EXCEPT
Construct adapter wrapping the global FastLED object.
void setBrightness(u8 brightness) FL_NO_EXCEPT override
Set the global brightness.
u16 getMaxRefreshRate() const FL_NO_EXCEPT override
Get the maximum refresh rate.
u8 getBrightness() const FL_NO_EXCEPT override
Get the current global brightness.
void setSegment(size_t start, size_t end) FL_NO_EXCEPT override
Set a segment range for subsequent operations.
Pure virtual interface for FastLED operations.
constexpr T * end(T(&array)[N]) FL_NO_EXCEPT
u8 u8 fract8 blur_amount FL_NO_EXCEPT
fl::shared_ptr< IFastLED > createFastLEDController(u8 controllerIndex) FL_NO_EXCEPT
Create a FastLED controller adapter.
Base definition for an LED controller.
Representation of an 8-bit RGB pixel (Red, Green, Blue)