Forum Discussion
Altera_Forum
Honored Contributor
15 years ago(IOWR_ALTERA_AVALON_PIO_DATA, led_mask); PIO_RED_LED_BASEWhat is this?!? :confused: It should be: IOWR_ALTERA_AVALON_PIO_DATA(PIO_RED_LED_BASE, led_mask); Also make sure that PIO_RED_LED_BASE is the correct define name for the pio (refer to system.h).