The code will block until the buffer gets cleared enough to hold the new content.
But that's not the OP's main problem as such blocks would last much longer than what he experiences.
The delay() call in loop() will ensure that there's enough time to send everything in the buffer.
I was explaining to him that if he wanted to collect data at 1000 Hz (even using hardware timers), he must find a way to "send" or save that data, or there is no point in collecting that much if you can't send or save it fast enough
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.