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