Currently the recieveData function is called in the draw loop. I had problems getting serialevent to work. I’m using framerate mod 120 to decide when to make the call. On the Arduino I’d like to use serialEvent, but have had probs as I’m using the altsoftserial library and haven’t found a way to get sE to work with that driver.
I’m also thinking I may be simply swamping the Arduino by sending data to frequently. I’m sure there has to be some balance between the Arduino loop and the Processing draw loop.
Work is on hold till Friday - 3 of the 4 DRV8825’s have failed!
️
Thanks - Alan R.