>If this is for the TMP-03 sensor you may wish to >consider a routine Dwayne Reid wrote. IIRC, it uses an >interlaced co-routine type trick to poll a pulse and >achieve 3 tcyc resolution in the measurement and have >16-bit dynamic range. I presume you can obtain similar >results with TMR0 by setting the prescaler to 0 (i.e. >give the WDT the prescaler), polling TMR0 rollovers, >and polling the pulse. However, since there are two >things that have to be polled you'd only be limited to >4 or 5 Tcyc resolution (that is if you're lucky or >clever - which ever comes first) No, thanks. Resolution is pretty, but PIC is kept busy while doing pulse measurement. Because pulse frequency is as low as 20-40 Hz it means blinking LED indicator. :) BTW, what "interlaced co-routine" means? Is it interlaced with other routine or something?