From processing to arduino

How you want to send the data, is your choice.