Program and Circuit: Push button Software Debouncing
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.
Comments and Additional Information
Have some code to share? Or additional information? Respond here:
You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.