OlPhart
Member
In the code snippets is the routine I wrote/use. It's absolute, not probabilistic like RC damping is. The active/inactive count values allow tuning to switch type. It's in Freescale assembler, but should have enough comments to understand the logic. I wrote it on having had Way enough trouble with other debounce methods. G.H... <<<)))