I use the processing arduino library to trigger a function I have in my arduino program to reset the serial data back to zero.
I have an encoder running an ISR
that needs to be reset when the fiduscial markers are changed in PD.
I've generally just been having trouble working with the encoder and this was just a workaround for me because I'm not very comfortable coding in arduino with the encoder.
I kind of got thrown in the deep end with having to use it for my project.