Hi,
I have just bought an Adafruit Soundboard and would like to control it with an arduino. Nothing too flashy. i just want that when a button is pressed on the arduino, it plays a sound on the FX board. Thing is, I found the example code you uploaded a bit confusing. I don't need any menus. I just want to know what the commands are to send a serial message to play sounds and I couldn't find how that could be done from the example code alone. I would really appreciate your help.
Adafruit Sound Board Serial Control
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Adafruit Sound Board Serial Control
The part that plays a sound is:
Code: Select all
if (! sfx.playTrack(n) ) {
Serial.println("Failed to play track?");
}
Please be positive and constructive with your questions and comments.