Arduino to Processing: switches as keypress
in
Integration and Hardware
•
2 years ago
Hi all,
I know this is probably a no-brainer for some of you...
I have completed a project using Processing and have it set up so that certain keypresses do certain things. It's now time to put the installation together.
All I want to do is use simple switches hooked up to the Arduino to take the place of the keypresses in my Processing sketch. How can I tell processing which pins to assign to each of my different actions? I have followed this tutorial
http://arduino.cc/en/Tutorial/Graph and I get it but can't figure out how to take in readings from separate pins...
Thanks in advance... :)
1