I'm a fan of the "wait xx mS" method of debounce. Even in a system that counts 100 items in under 10 seconds it's never let me down. I also use something similar to ensure the switch has been released, and still have time to run a counter that ensures that nothing has stuck and jammed the switch on (or off).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
SpamSpamSpamSpam
Beware. Do not open the measage with the URL "Visit the Fintexec Coach for more detail."
https://www.youtube.com/watch?v=mBcY3W5WgNU sorry...had the urge to do it
I'm a fan of the "wait xx mS" method of debounce. Even in a system that counts 100 items in under 10 seconds it's never let me down. I also use something similar to ensure the switch has been released, and still have time to run a counter that ensures that nothing has stuck and jammed the switch on (or off).