[This][1] is the "bible" on debouncing.


  [1]: http://www.ganssle.com/debouncing.htm