13FASTLED_SMART_PTR(ByteStream);
19 virtual bool available(
size_t)
const = 0;
20 virtual size_t read(uint8_t *dst,
size_t bytesToRead) = 0;
21 virtual const char *path()
const = 0;
22 virtual void close() {}
24 size_t readCRGB(
CRGB *dst,
size_t n) {
25 return read((uint8_t *)dst, n * 3) / 3;
Defines the red, green, and blue (RGB) pixel struct.
Implements the FastLED namespace macros.
Implements a simple red square effect for 2D LED grids.
Representation of an RGB pixel (Red, Green, Blue)