Hi,
i am beginner. I am working on the coding basics.
Recently i was trying to interface a switch and a buzzer.
My task was to make the buzzer sound as the number of times the switch is pressed.
But when I am counting the times the switch is pressed and make the buzzer sound, either the count is
getting incremented along with previous count or it is getting cleared freshly.
Can anyone help me with this??