[Solved] Attack3 Joystick buttons to turn on LEDs on Arduino?

Hi @Code7,

You want to make your Processing sketch send and receive via Arduino to the Arduino I.O. There are 2 ways (at least).

  1. Fermata. Put the firmata code in the Arduino, use the Processing examples that work with firmata.

  2. Put your own code in the Arduino. Your own code in Ard and Processing has to put messages together and receive them.

If ‘new to coding’ probably quicker to get going with firmata. I’ve always preferred the 2nd method as my projects usually start with the Arduino doing something, then want comms to PC as optional GUI or data logging.

1 Like