I am using MAXUINO (firmata v2.1) to combine Arduino (uno) with Max6.1 and communicate with eachother. For a first prototype for a school project I like to just simply play a music sample when I press a button (input). But the problem is, how do I say in the Max6.1 file that when the button on the arduino is pressed there needs to play a music sample. I would appreciate your help.
The arduino interface for MAX/MSP:
The arduino part: