Forum Discussion
Altera_Forum
Honored Contributor
15 years ago2 Leds -> how many PIO?
Hi all, I'm writing a simple program on interrupt behaviour, with an interval timer (that generate timer interrupt and its handler make a ledg blink) and an hardware interrupt generated by a bu...
Altera_Forum
Honored Contributor
15 years agoOf course, you can use the same PIO to control both the LEDs... for this you have to introduce an extra output signal in your HDL module and link this signal to the second bit of the PIO (you do it where you instantiated your NiosII module in QuartusII). Now make a pin assignment for this new signal to the desired LED in the board. Now the second bit of the PIO is connected to the other LED...