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. Bob Jenner Trading as RAJE Consulting 3 Cahill Cr Nakara NT 0810 Tel 08 89 455 796 Fax 08 89 275147 http://www.coolspot.com.au