I’ve been reading up on what I can find about acquireSerialBuffer() but I’m still stuck.
First, it seems like when I use acquireSerialBuffer() it doesn’t do anything. I’m assuming that this is for the USB Serial connection referred to as just Serial (not Serial1 in this case). Is that correct?
If so, can someone post a bit more example code on using it? It doesn’t seem to be working for me, as if it’s just being ignored.
Second, if using acquireSerialBuffer(), I’m assuming I can look at those buffers directly instead of having to use Serial.read(). Is that assumption correct?
If that is, how do I reset the value returned by Serial.available()? It seems like calling read() is the only way to increment the pointer.
Thanks in advance!