2 Way Processing Communication

I'm working on a project where I need to send data from arduino to processing and then send data back to arduino. I've tried using Firmata to only use processing , but I need the arduino libraries to interface with the hardware I'm using.



Not the neatest of code but examples of how to talk to/from processing and arduino.

Logic_Scanner2.ino (6.21 KB)

Logic2.pde (8.85 KB)