22 static CRGB empty_led;
34 FASTLED_ASSERT(
mXyMap.isSerpentine() ||
mXyMap.isLineByLine(),
35 "XYMap is not serpentine or line by line");
39 FASTLED_ASSERT(
mXyMap.isSerpentine() ||
mXyMap.isLineByLine(),
40 "XYMap is not serpentine or line by line");
const XYMap & xymap() const
Leds(CRGB *leds, uint16_t width, uint16_t height)
CRGB & operator()(int x, int y)
Defines the red, green, and blue (RGB) pixel struct.
Implements a simple red square effect for 2D LED grids.
Representation of an RGB pixel (Red, Green, Blue)