Forum Discussion
Altera_Forum
Honored Contributor
14 years agoOn/Off led
unable to turn on/off led. the component does not trigger does anyone knows why? --main file architecture Behavioral of DigitaleKlok is
component OnOff is
port (
...
Altera_Forum
Honored Contributor
14 years agoSince your code is not complete, it is hard to tell about signals like hour/minute counters.
For now I suggest changing the if construct of component LED to: if led_state = "01" then .... elsif led_state = "10" then ... end if; Make sure you are not switching LEDs too fast to be visible.