
Originally Posted by
richard
you may like to re-examine that I just tried it on a pic1845k20 @64 MHz and the int is 2.5mS as expected , sheldons mod just adds 100th doesn't it
the ticks only inc on every 4th interrupt
What happens when you start/stop the timer after 5 ticks using the original include?
I get this using the new include:

Code:
MainProgram:
if T1CON.0 = 0 then
PortD.3 = 1
GOSUB StartTimer
endif
if OneHundreth = 5 then
PortD.3 = 0
GOSUB StopTimer ' Stop the Elapsed Timer
GOSUB ResetTime ' Reset Time to 0d-00:00:00.00
endif
goto MainProgram
Robert
Bookmarks