Circular buffer library for Arduino