mirror of
https://github.com/processing/processing4.git
synced 2026-01-26 18:01:07 +01:00
The Arduino code would read one byte from the buffer an then sleep for 1/10th of a second, while Processing would send a byte every frame. Instead, read in all the bytes in the input buffer and act on the most recent one.