Steven Kosmerchock wrote: >PICsters, >I was reading about the TMRO on the PIC and I was wondering about >the clock it uses to divide using the prescaler. If I select the >internal clock, does it use the input frequency (4MHz OSC) or the >1MHz clock that the PIC instructions run at? Also, if I select an >external clock of say 32KHz, will it use that frequency inputed >into the prescaler or is their a divide by 4 their as well? >Thanks in advance It uses the instruction clock rate, which is the oscillator frequency /4. The external clock will be used straight. One word of caution, whenever you write to the TMR0 the prescaler is cleared. This does result in a more accurate single time until overflow, but if you are trying to also keep track of longer term time you will lose on average 1/2 of the prescaler ticks per write. Chip Weller