Hello dear reader!
Recently I found myself sending sensor data from a microcontroller to my computer via the serial port, and ran into trouble recording the data with Processing. At high data rates, new data arrives before I can finish processing the old data!
In my endeavor to fix this, I found a way to control serial communications logging from inside Processing which also works from any other programming language. I also wrote a nifty Serial logging Java class which you may find useful in your logging adventures to…