Forum Discussion
Altera_Forum
Honored Contributor
15 years agogenral software problem
im writing a simple clock program for a niosII standard processor and i encountered this bug in my main loop i have an infinite loop which updates all the seven segments(DE2 board) like
w...
Altera_Forum
Honored Contributor
15 years agothanks :) im gonna have to wait till monday to try it out at uni cause i dont have a de2 board myself.. ill try making them volatile.. but if the compiler is caching those variables in registers instead of memory why wont those registers be updated within the interrupt function?