Altera_Forum
Honored Contributor
15 years agoPIO LEDs always on
Hello,
i have a NiosII sopc with a PIO[24] called LED. It is connected to the LEDs on the DE3 board. now i have a simple application :# define LED_BASE 0x00041010 // this is the base in the sopcbuilder
....
int led_val = 0x0;
IOWR_ALTERA_AVALON_PIO_DATA( LED_BASE, led_val);
But the Leds are alway on. also when i change led_val to something else, nothing happens. and another question? why is a pointer to a pio alway implemented as char pointer??