Wow, that seems complicated, glad it was you figuring it out. :smile:
I took what you posted and looked at DT's Elapsed.bas.
I believe the formula that Darrel used to calculate the Timer...
Oh dear! So ... simple... :)
I finally figured out how the constant timer values are calculated for various oscillator speeds in DT’s Elapsed Timer.
IF OSC == 4 ; Constants for 100hz...
Thanks Louie, he is gone . . .Archangel Yesterday, 00:51
Haha, that's funny but not funny.
I thought I recognized my typing :wink:
This was part of an informational post I did some time ago.