Jan-Erik, The numbers I came up with are: TMR1H =3D 0xCF; TMR1L =3D 0x48; I don'= t=20 understand why they are so far off. If it was 10 or 20% that would be=20 expected but these were off by a factor of over 4. Now all the way in to=20 the 10s of KHz the numbers are right on. At 100s of KHz the error is=20 only 0.002%. I have my counter turned down to 22Hz and the HP is reading=20 the same as my home made counter. Thanks, rich! On 7/23/2014 2:34 PM, Jan-Erik Soderholm wrote: > > Richard R. Pope wrote 2014-07-23 20:48: >> Allen, >> I don't have a 20MHz chip so I dropped back to 4 MHz. The >> calculator has a choice for a 4MHz frequency and I choose that but the >> numbers are off by almost 4.5 times. > The values you presented in your code here does give the right > timing. Only some small adjustments was possible. See my > earlier post. > > Jan-Erik. > > > > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .