Feb-04-2018, 09:37 PM
I have a python code that plays a sound when I push a button, but if I hold the button, it keeps playing the sound, which I dont want.
So what line would I add in the code to make it that if I hold the button high, it will only send one output until i release the button and press it again.
So what line would I add in the code to make it that if I hold the button high, it will only send one output until i release the button and press it again.