You sir provided exactly what I needed, and nowhere else I found this problem addressed as you did... Thank you, i was trying for 2 days to solve this problem :))
true but at this point the students haven't been introduced to capacitors, so that might be more confusing than a coding solution. both would work. with the cap it's harder to tweak the circuit for video games that require fast and frequent presses. with a coding solution you know exactly how many milliseconds you will have before you can press again
You sir provided exactly what I needed, and nowhere else I found this problem addressed as you did... Thank you, i was trying for 2 days to solve this problem :))
good luck and glad to help!
@@adamjerozolim800 thank you 😁
Adam! thanks for adding great extra
content for us
You could just put a 100nF cap across the switch which will debounce the switch nicely. No need for code to debounce it.
true but at this point the students haven't been introduced to capacitors, so that might be more confusing than a coding solution. both would work. with the cap it's harder to tweak the circuit for video games that require fast and frequent presses. with a coding solution you know exactly how many milliseconds you will have before you can press again