Forum Discussion
Altera_Forum
Honored Contributor
14 years agoProblem with IORD_ALTERA_AVALON_PIO
hi, i want to write a simple code witch can turn on a led when i press a button. i have write this piece of code but seems doesn't works... here is my code:
int main()
{
volat...
Altera_Forum
Honored Contributor
14 years agoChange if ((BOUTON_ON & 0x1) == 0x1) to
if (BOUTON_ON > 0)