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