Library is provided by Loupe
https://loupe.team
[email protected]
1-800-240-7042
This library implements a Ring buffer. The user may add/remove items to the top or bottom of the buffer.
Values can be retrieved by giving the index of the value relative to the top of the buffer. Index 0 corresponds to the top of the buffer.
If more values are added than there is memory allocated, the item furthest from the end which the new value is add, bottom or top, will be dropped from the buffer.
For more documentation and examples, see https://loupeteam.github.io/LoupeDocs/libraries/ringbuflib.html
To install using the Loupe Package Manager (LPM), in an initialized Automation Studio project directory run lpm install ringbuflib
. For more information about LPM, see https://loupeteam.github.io/LoupeDocs/tools/lpm.html
This project is licensed under the MIT License.