Bob Jenner wrote: >At 06:29 24/01/00 -0700, you wrote: >>Bob Jenner wrote: >>>;Assuming the Osc is accurate at 4 Mhz, the following applies. >>>;Driving TMRO from Osc/4 (1Mhz) and not using the prescaler, an interrupt >>>;occurs every 256 us. The 16 bit counter (tickhi,ticklo) is loaded with >>>;D 3906 which gives a count every 256 x 3906 = 999936 us. 4us short >>>;of a second amounts to 2.1 seconds/non leap year...good enough for me. >> >> >>Isn't that 64us short of a second? >>Wouldn't the clock gain 5.5296 seconds per day? >>(about 33.6 minutes per year) >> >Ouch! What an idiot (me that is). Thanks Ken. Aww, heck ... I do that kinda stuff all the time (drop digits, etc.). Then I stare at it for hours trying to figure out why its not doing what I think its supposed to do. A fresh set of eyes always helps. Chalk another one up for the PICList! Cheers, Ken