> count pulses for 0.9375s and multiply by 32 if that is easier Yes, good point. Selecting an appropriate interval (timer has to be loaded with *something* anyway) would avoid unnecessarily over-complicating the maths wbr -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist