6#include "fx/1d/cylon.hpp"
32 delay(cylon.delay_ms);
CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
void setBrightness(uint8_t scale)
Set the global brightness scaling.
void show(uint8_t scale)
Update all our controllers with the current led colors, using the passed in brightness.
static CLEDController & addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
Add a CLEDController instance to the world.
An animation that moves a single LED back and forth (Larson Scanner effect)
void draw(DrawContext context) override
@ RGB
Red, Green, Blue (0012)
Implements a simple red square effect for 2D LED grids.
Representation of an RGB pixel (Red, Green, Blue)