14#include "fl/force_inline.h"
34 virtual void showColor(
const CRGB& data,
int nLeds, uint8_t brightness)
override {
47 virtual void show(
const struct CRGB *data,
int nLeds, uint8_t brightness)
override {
69 int lanes()
override {
return LANES; }
central include file for FastLED, defines the CFastLED class/object
Base definition for an LED controller.
uint8_t getDither()
Get the dithering option currently set for this controller.
Template extension of the CLEDController class.
virtual void show(const struct CRGB *data, int nLeds, uint8_t brightness) override
Write the passed in RGB data out to the LEDs managed by this controller.
virtual void showPixels(PixelController< RGB_ORDER, LANES, MASK > &pixels)=0
Send the LED data to the strip.
static const uint32_t MASK_VALUE
The mask for the lanes for this controller.
int lanes() override
Get the number of lanes of the Controller.
static const EOrder RGB_ORDER_VALUE
The RGB ordering for this controller.
static const int LANES_VALUE
The number of lanes for this controller.
virtual void showColor(const CRGB &data, int nLeds, uint8_t brightness) override
Set all the LEDs on the controller to a given color.
base definitions used by led controllers for writing out led data
Defines color channel ordering enumerations.
EOrder
RGB color channel orderings, used when instantiating controllers to determine what order the controll...
Determines which platform system definitions to include.
#define FASTLED_NAMESPACE_END
End of the FastLED namespace.
#define FASTLED_NAMESPACE_BEGIN
Start of the FastLED namespace.
Low level pixel data writing class.
Includes defintions for RGB and HSV pixels.
Contains definitions for color correction and temperature.
Representation of an RGB pixel (Red, Green, Blue)
int8_t mAdvance
how many bytes to advance the pointer by each time. For CRGB this is 3.