24#define LED_TYPE WS2811
25#define COLOR_ORDER GRB
27#define MATRIX_WIDTH 22
28#define MATRIX_HEIGHT 22
30#define NUM_LEDS (MATRIX_WIDTH * MATRIX_HEIGHT)
33#define IS_SERPINTINE false
35#define IS_SERPINTINE true
fl::FxEngine fxEngine(NUM_LEDS)
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
fl::XYMap xyMap(MATRIX_WIDTH, MATRIX_HEIGHT, IS_SERPINTINE)
fl::UISlider SPEED("SPEED", 30, 20, 100)
fl::FxEngine fxEngine(NUM_LEDS)
fl::UICheckbox switchFx("Switch Fx", true)
fl::UISlider SCALE("SCALE", 20, 20, 100)
fl::NoisePalette noisePalette2(xyMap)
fl::NoisePalette noisePalette1(xyMap)
Manages and renders multiple visual effects (Fx) for LED strips.
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
#define EVERY_N_SECONDS(N)
Checks whether to execute a block of code every N seconds.
fl::u32 millis()
Universal millisecond timer - returns milliseconds since system startup.
Demonstrates how to mix noise generation with color palettes on a 2D LED matrix.
Representation of an 8-bit RGB pixel (Red, Green, Blue)
Aggregator header for the fl/ui/ family of per-element UI types.