Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHi there,
Is your button input de-bounced? If not it could generate a series of consecutive interrupt requests so that as soon as you leave the ISR it re-enters again. If you run your code, rather than step through it, what happens? I'd guess that it would change the state of your LEDs, but in a somewhat erratic fashion. If your button inputs are debounced to provide a single clean edge, there should be no problem. Cheers