Forum Discussion
Altera_Forum
Honored Contributor
14 years agoAs a first check I's swap the ON/OFF over - and see if the led is now off!
That should let you find out whether the problem is with the leds or switch. As written you'll need to be holding down the switch to have any effect. You might also try a software delay loop inverting the led after each delay.