Sometime buttons need to be debounced in software. This article has good information on how to do it. The simplest method of debouncing is by sampling the switch every 50 milliseconds.
Software button debounce
Leave a reply
Sometime buttons need to be debounced in software. This article has good information on how to do it. The simplest method of debouncing is by sampling the switch every 50 milliseconds.