31#define NUM_LEDS ((WIDTH) * (HEIGHT))
32#define IS_SERPINTINE true
33#define TIME_ANIMATION 1000
54 auto screenmap =
xyMap.toScreenMap();
55 screenmap.setDiameter(.2);
UITitle title("Simple control of an xy path")
UIDescription description("This is more of a test for new features.")
XYMap xyMap(WIDTH, HEIGHT, false)
CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
UIButton button("Trigger")
LED controller for WS2812 LEDs with GRB color order.
void clear(CRGB(&arr)[N])
Implements a simple red square effect for 2D LED grids.
UISlider pointX("Point X", WIDTH/2.0f, 0.0f, WIDTH - 1, 1.0f)
UISlider pointY("Point Y", HEIGHT/2.0f, 0.0f, HEIGHT - 1, 1.0f)
Representation of an RGB pixel (Red, Green, Blue)