Hi, Hank
Let 's see ...
@ 20Mhz clock ( better say : Xtal ) ...
you have .200µs for a timer 1 without prescaler increment ... ( internal clock is 1/4 the Xtal Freq ... )
so, 1000/.200 = 5000 ... ( let's forget Interrupt duration for the moment )
if my math still " not so bad " ...
now ... just a 1:2 ratio to dig out ...
So, IF you sure your Xtal is a 20 Mhz one ...
only your settings ( full listing SVP !!! ) AND your interrupt stubb could enlight this 3rd millenium mystery ...
Alain
Bookmarks