nik wrote: >=20 > If I choose to count the ignition pulses per second, would using timer1 > in counter mode while using timer0 to time 1 second (like what David > suggested) be a better idea then using CCP in capture mode for the same > method? As the others have been saying, it depends on how the trade-offs work for you. Counting pulses in 1 sec is fine and easy, if you are happy with having an updated rpm value every second. Counting over 1/10 sec gives you faster updates, but lower accuracy at low RPMs. For engine control, you probably need faster feedback and as Denny pointed out, you'll get the fastest response by measuring the time between pulses - but CCP isn't ideal for measuring long periods. By the way, it doesn't need to be timer0 that creates your time base - bigger PICs have plenty of timers to choose from, but if you're looking at = a 16F then timer2 is a good option because its period register and postscaler make it easy to generate interrupts at a rate that makes your calculations easiest. Cheers, David --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .