alan smith wrote: > You mention the problems....enlighten me if you can? The problem I > have right now, the target device is a 16F877 where one function is > acting as a frequency counter, where it uses the rising edge interupt > on port B0 to capture the incoming pulses, but the I setup > the high level interupt for TMR0, I would be more assured that I would > be able to capture the pulse count more accuratly. I'm not totally sure what you're asking since your message was a bit unclear, but how about using a CCP module for capturing the pulses for the frequency counter. These are great for measuing pulse period since the timer value is captured in hardware when the pulse comes in, then the software can take some time to read it as long as it gets there before the next pulse. ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist