bool pop_front(T *dst=nullptr)
T & operator[](size_t index)
bool pop_back(T *dst=nullptr)
const T & operator[](size_t index) const
fl::scoped_array< T > mBuffer
CircularBuffer(size_t capacity)
CircularBuffer & operator=(const CircularBuffer &)=delete
bool push_front(const T &value)
bool push_back(const T &value)
CircularBuffer(const CircularBuffer &)=delete
size_t decrement(size_t index) const
size_t increment(size_t index) const
Implements the FastLED namespace macros.
Implements a simple red square effect for 2D LED grids.