Forum Discussion
Altera_Forum
Honored Contributor
14 years agoYou can also use your state machine for debouncing but add extra interval of time. This could be simpler to control:
s0: detect push = 0, decide toggle, move to s1 s1: stay for some time ignoring key, then move to s0