try a FF based state machine
4 states => 2 bits => 2 flip flops with a little bit of logic would work well for a synchronous debouncing scheme. i just did one recently and its pretty simple. if you dont want to mess with clocking, try one of the other suggestions involving schmitt triggering.
4 states => 2 bits => 2 flip flops with a little bit of logic would work well for a synchronous debouncing scheme. i just did one recently and its pretty simple. if you dont want to mess with clocking, try one of the other suggestions involving schmitt triggering.