I'm setting up a simple GPIO input to trigger a sound file, micro switch connected to GPIO 0. It's set to "Trigger Event On Button: Up" to play back a file whenever someone lifts an object. But when they set the object back down and the switch returns to "Down" the file should stop playing.
Can't seem to figure out how to stop file playback with a new click of the button. Can any one help?