Hi,
I have written a program to play a defined tone continously when on board button is pressed. How do program it to stop the music when i press the button second time. Please help
Hi,
I have written a program to play a defined tone continously when on board button is pressed. How do program it to stop the music when i press the button second time. Please help
After the “Wait until button pressed” statement, add a “Wait until button released” statement.
The change the Forever loop to a “Repeat until button pressed” loop.