Forum Discussion
Altera_Forum
Honored Contributor
16 years agoUser LEDs 2 - 4 on NEEK, Cyclone III
NEEK Cyclone III cycloneIII_3c25_niosII_standard_sopc.sopcinfo How do I blink LEDs 2 - 4? Below code blinks LED1. Also, any references to documents where I could have figured this out ...
Altera_Forum
Honored Contributor
16 years agoThe PIO port is connected to the LEDS on the board. Each bit in the PIO port corresponds to an LED. So if you change the one line to read:
IOWR_ALTERA_AVALON_PIO_DATA(LED_PIO_BASE, count & 0x03); You should get two leds blinking ... oh the excitement. :) Amazing how rewarding the blinking of a little light can be. Jake