Forum Discussion
Altera_Forum
Honored Contributor
14 years agoneed help with simple blinking led delay problem
I'm targeting a DE0-Nano development board, and I've created a NIOS ii/e embedded processor. I want to blink a LED, using the following C code from 'my first nios ii software tutorial': # include...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- I do not understand - can somebody help? --- Quote End --- The compiler is doing you a favor, and eliminating the code, since it appears to do nothing (but waste its time). Try volatile int delay; Cheers, Dave