I have written a CSV file for a HD410 that is hooked up to an amp and a sound dome. There is just one audio file on the card that I want to play only when a button mounted near the sound dome is pushed. I want the audio file to play uninterrupted until it is over, even if the button is pressed. When it is over I want it to stop until the button is pressed again.
Right now the file does not start playing until the button is pressed but once it starts it is in an infinite loop and the button does nothing. Below is the program I have written. Thank you for any insight into what I might be doing wrong!
-Mary Beth Tait
GPIOENABLEINPUT 0
EVENTS button:0 audioend
STATE B216.mp3
STATE B216.mp3