13#define FASTLED_ALLOW_INTERRUPTS 0
21#define MAX_POWER_MILLIAMPS 500
22#define LED_TYPE WS2812B
23#define COLOR_ORDER GRB
CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
void show(uint8_t scale)
Update all our controllers with the current led colors, using the passed in brightness.
void setMaxPowerInVoltsAndMilliamps(uint8_t volts, uint32_t milliamps)
Set the maximum power to be used, given in volts and milliamps.
static CLEDController & addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
Add a CLEDController instance to the world.
void draw(DrawContext context) override
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
#define EVERY_N_MILLISECONDS(N)
Alias for EVERY_N_MILLIS.
Implements a simple red square effect for 2D LED grids.
An animation that simulates gentle, blue-green ocean waves.
Representation of an RGB pixel (Red, Green, Blue)