Processing to Arduino communication.

Hey peeps!

So I'm new to Arduino and have a few issues, the main one is, I'm trying to get my game (that's running in processing) to send the scores of p1 and p2 back to Arduino.

So I think what I need is a way to communicate a string from processing back to Arduino but I'm not to sure.

Any help is much appreciated!


I would suggest to study Serial Input Basics to handle this for the arduino code, then it’s just a matter of defining your protocol between the PC/Mac and the arduino over the serial line