Circular buffer implementation for the Arduino