Software Debouncing for a Push Button Switch Explained

An attempt is made to explain how the software debouncing works. A string of 0s and 1s are visually represented to show what may be going on when a button is pressed and a solution to overcome the portion of the 1s and 0s where there is uncertainty. A counter is used to increase a variable to represent the confidence level of the button press or release.



Back to blog

Leave a comment

Please note, comments need to be approved before they are published.