Is there a libarary to make a ring buffer , standard libarary or user built ?
I want it make it that if it can’t send my data it will store it until it can .
@peter_a , a quick search on google found this:
CircularBuffer.h
/*
CircularBuffer.h - circular buffer library for Arduino.
Copyright (c) 2009 Hiroki Yagita.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
This file has been truncated. show original
It’s a circular byte buffer class template.
Thank you , I`ve mapped it out how to do it , BUT whats the point of reinventing the wheel.
1 Like