Help a N00b with a switch?

k.nicorta's icon

Hi,
I've been trying to program my arduino to communicate with Max/MSP/Jitter. I'm very new to this. I've downloaded the arduino software. And I've been using Simple Message Systems instead of Maxuino (I've been told that its easier). I've compiled the code and uploaded it to my board. I can see that it is communicating with Max because the lights on the board blink when I turn on the toggle in the SimpleMessageSystem.mxb. However, when I set up my own max patch (built out of the Simple Message patch) and hook up a switch to my board the commands won't go through. I feel like I've double checked everything, but is there something I've missed?

-kat

k.nicorta's icon

Well, nevermind. Found a tutorial at http://www.soundplusdesign.com/?p=1305 that solved most of my problem.
However, I do have another question. Is there a way that I can treat the analog pins as digital ins?

Rob Ramirez's icon

Is there a way that I can treat the analog pins as digital ins

while you may get some answers here, you are probably better off asking at arduino forum.