Interrupts and Timers

The problem is in the code you didn't post. Please use code tags otherwise the forum software eats some of your code and turns it into smileys. 8)