May I suggest that you take a look at this link:
http://www.picbasic.co.uk/forum/showthread.php?t=3891
May I suggest that you take a look at this link:
http://www.picbasic.co.uk/forum/showthread.php?t=3891
Last edited by sayzer; - 9th February 2012 at 07:44.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
I asked directly Darrel Taylor (Technical Support) and he gave be the good answer :
I simply need to clear the interrupt flag (TMR2IF) in PIR1 before leaving the Interrupt Service Routine
Otherwise, the ISR is called again and again. No relation with ReadCode execution time.
Many thanks to you, Darrel.
Bookmarks