Closed coreyfro closed 3 years ago
I should note that I know this is a problem with the buffer because if I print it's size to serial, it says "0"
Hi, and thank you for providing this feedback.
First of all, I suggest enabling the support for interrupts via the CIRCULAR_BUFFER_INT_SAFE
macro flag because you are using the library within an interrupt-driven code.
After that, if the problem still persist, as I don't have a teensy 3.2 to play with, I have only two advises left:
CIRCULAR_BUFFER_DEBUG
macro flag and use the additional debug
function to verify the contents of the buffer after the insertionClosing as no feedback
Hello,
I have a bit of code that works just fine on an Arduino UNO, but when I try running the same code on the Teensy 3.2, it compiles, but I get erroneous data from the ring buffer. I am considering using STL::Vector but I thought I would ping you in case the issue report would help or if there was something obviously wrong in my code.
Thanks!
Output on Arduino
65.47 27.73 75.00 60.06 35.30 75.00
Output on Teensy
nan nan 75.00 nan nan 75.00