i am trying to debounce this momentary push buttons. How can this be done through software ?
I've one way which is to use a interrupt which detects edge changes( eg : 1 to 0 or 0 to 1) and also check whether are the last change was more than n seconds. And depending on a predefined n seconds to determine whether is it a genuine push of the button.
Is there any algorithm or way to do debouncing ?