Forum Discussion
Altera_Forum
Honored Contributor
16 years agoSoftware to manage input buttons
Hello dear people from Altera forums =) Another question by someone who is just starting. I made a C program for the NIOS to blink some leds and stuff like that on my BeMicro FPGA using my keyb...
Altera_Forum
Honored Contributor
16 years agoJust like you use the IOWR_ALTERA_AVALON_PIO_DATA(base, data) macro to turn on or off the LEDs, you can use the IORD_ALTERA_AVALON_PIO_DATA(base) macro on your buttons PIO to read the buttons state.