Hello,
How can i expand serial RX buffer in new version of Arduino IDE? :s
best regards
Hello,
How can i expand serial RX buffer in new version of Arduino IDE? :s
best regards
Why? It's very common to overflow the RX buffer, but it's usually because delays or while loops in the program (or a library) keep you from doing a Serial.read() frequently enough.
Could we see your sketch? It can almost certainly be restructured to service the RX chars more frequently, sometimes without even using a buffer. I have even posted drop-in replacement libraries that allow you to handle the RX characters during the interrupt, just like the PinChange attachInterrupt.
Cheers,
/dev
The examples in Serial Input Basics can receive large amounts of data without any change to the buffer size.
...R