Microcontroller › AVR › timer running slow › Hi,You have included the lcd
September 10, 2014 at 6:39 am
#12143
Participant
Hi,
You have included the lcd functions inside the ISR. These functions take more time than the timer firing period, and you will miss a lot of timer interrupts when these functions are executing inside the ISR.
The solution is to keep the lcd functions in the main code.