Program and Circuit: Push button Software Debouncing
Share
A program is developed and circuit is breadboarded to investigate debouncing through software. A few variables are created to measure the confidence level of the press and release. Two LEDs are added to the circuit to determine is the debouncing is operating successfully. If the LEDs toggled twice or more, then the debouncing would be unsuccessful. There is a threshold that only allows the button to create an action if the confidence level is above this threshold.