I'm trying to help my daughter with this program to play an mp3 sound when a button is pressed. We're run into nothing but trouble and I cannot help her with this one. First, here are some lessons we've learned:
1) Don't buy cheap breadboard wires from ebay. Half of them don't connect from one end to the other. That cost many hours before we realized it.
2) Don't buy cheap buttons from ebay. They don't connect the right direction for fitting in the breadboard. That cost us many more hours before we realized it.
Now, we still cannot get the thing to work. Right now, it just plays the sound over and over until it freezes up and disconnects from the SSH session. I changed all of the "False" to "True" in the program and now it plays over and over with a pause in between and doesn't freeze up. I even simplified it so much that I have only a few wires from the Pi to the breadboard, no more ribbon cable. I took the buttons out and used a wire as a replacement. Even with nothing whatsoever plugged in, it still doesn't work. We typed the program exactly as it is in the instructions here: http://learn.adafruit.com/downloads/pdf ... rry-pi.pdf We chmod'd it and we run it and it doesn't work. Anybody able to get this one to work or have any suggestions what we may have done wrong? She blogged about her first try with it when we had the wires plugged into the pin numbers instead of the GPIO numbers. We've fixed that now, but it didn't help. http://raspberrypikid.wordpress.com/201 ... on-sounds/
Thanks, Mike and Krystal
