Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

'LED_PIO_BASE' undeclared (first use in this function)

hello

im new in nios

i have a cyclone 4

can some help me with my error. thank you

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Does your Qsys system have an LED interface named "LED_PIO"? That's what your code is expecting.

    Cheers!

    slacker
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    how can i add GPIO pins in the qsys and use these pins as input and output?

    the project i want to do is to use a keypad to input numbers that will display in lcd as a password that will open a lock and if the password is incorrect it will make the buzzer buzz.

    the keypad will be use as an input. the buzzer and the lock as an output. the keypad, buzzer and a lock will used the GPIO pins how can add them to qsys?

    thanks