Why doesn't the port.write() work when placed inside the setup() function? Processing doesn't get serial data back from Arduino

I used the frameRate() function instead of the delay, and moved all of my code to processing. Thanks! this worked. I had decided to use Arduino because I was thinking to do this with LEDs and a LCD too, but I don’t need that anymore in my application. Will try the handshake protocol too, if I need to hook-up any hardware I/O to it. Thanks!

1 Like