Data Storage

RingBuf

D. Aaron Wisner (daw268@cornell.edu)

A library for buffering items into a ring (circular/FIFO) buffer

This library is perfect for capturing pin states, timestamps, etc.. during an ISR. Then in void loop(), the buffer can be asynchronously processed whenever your program has free time.

Go to repository