Thanks for that. Inside the Elapsed_INT-18.bas file, was reference to a link that was suppose to show you how to calculate different TimerConsts for different crystal frequencies, but it is now dead. I will test this tomorrow.
Can I add the prescaler to the Elapsed_INT-18.bas like this, or does it have to be external?
If OSC == 40
T1CON.4=1 ; Set a 1:8 prescaler
T1CON.5=1 ; on TMR1
TimerConst=0CF2Dh
EndIF




Bookmarks