I am not an experienced C programmer and I am trying to get some code to decrement a variable every time the ISR is run. The first routine below works, so I know the ISR is working, but the second routine doesn't seem to do anything. It should be decrementing my LED display that is connected to port_C. It might just be that I still don't quite get global variables (along with other things). Any help would be appreciated!
Thanks for the help! That worked perfectly. I also had to get rid of the "int x;" that was in MAIN, but that was just a holdover from the previous program I forgot to change before I posted.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum