Programming: Software Debouncing for a Push Button Switch
Share
A program is developed to investigate the elimination of button bounce (software push button debouncing). The circuit consists of two LEDs and a push button. The LEDs will toggle when the push button is pressed and then released. Two main variables are used in understanding the actual button press and button release. These are confidence levels of pressed and released. A threshold controls the button action.