9#include "fl/bytestream.h"
10#include "fl/circular_buffer.h"
14FASTLED_SMART_PTR(ByteStreamMemory);
20 bool available(
size_t n)
const override;
21 size_t read(uint8_t *dst,
size_t bytesToRead)
override;
25 const char *path()
const override {
return "ByteStreamMemory"; }
26 size_t write(
const uint8_t* src,
size_t n);
27 size_t writeCRGB(
const CRGB* src,
size_t n);
Implements the FastLED namespace macros.
Implements a simple red square effect for 2D LED grids.
Representation of an RGB pixel (Red, Green, Blue)