- Throttle Processing, or
That's my current solution, but it's less than ideal. Processing is the GUI for the controls that represent the packets sent to the Arduino, I'd like it to be more responsive.
- monitor Serial.available() and process as fast as you can, or
I'm trying to come up with a clean solution for this. I.e. The Arduino ignores any new serial traffic until it's completed processing the current one. But when it does will it intercept a partial serial message in progress?
Does processing have any 'software handshake' options, like XON-XOFF, in wherever you setup your serial?
I wish, no it doesn't I'm having to code the handshakes on my own. To me this is the best solution. Once the packet is handled the Arduino sends a message back to Processing, allowing it to send the next Packet. This is what I'm working on, but was hoping someone had a slick solution already for it.