I have been using a Freetronics 100% Arduino Compatible board to run switches that trigger sound file players in MaxMSP.
The only sketch and patch I could use to get the board and Max communicating was Arduino2Max. I am able to get 1's and 0's out of the board using the Arduino2Max patch to trigger the sound file players on and off but the signal is extremely ambiguous. When the switch is open it should be sending a 0, when it is closed a 1 but it is flickering between the two. It also can take up to 4 secs to switch back to a 0 to close the switch. When the sample rate is slowed it just means that the signal flickers at a slower rate.
I have tried using a prototyping board as well as plugging directly into the digital pins. Can someone please give me any advice? Could this be a signal issue to do with the quality of the wires I am using or could there be a problem with the board or the way the signal is converted through usb?
Thanks!!