
Originally Posted by
skimask
So clear it and at the same time, increment an 'overflow counter'.
I have make this but increment only for 1
Code:
overflow = 0
main:
TMR0 = 0
'start count
pauseUS 1000
'stop count
if INTCON.2 = 1 then overflow = overflow + 1
INTCON.2 = 0
Temp = TMR0
gosub LCD
goto main
Bookmarks