This library allows to use ring buffer with and without interrupts.
RingBuffer is a library for ring buffers. Elements can be of arbitrate type.
Maintainer: Jean-Luc - Locoduino
This library is compatible with all architectures so you should be able to use it on all the Arduino boards.
To use this library, open the Library Manager in the Arduino IDE and install it from there.