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.
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.