Better to do with Interrupt
Hi,
Don't tell me you will be counting pulses for 1 minute and update your display. Too boring for a RPM counter. Why not check it every second and multiply the reading by 60. 1 sec refresh rate for your display. It is best to use Timer1 in counter mode and dumping the results every 1 second. For that you need a 1 sec timebase. If you are not accustomed with interrupts then this is high time to get going. Darrel has done a great job look here http://www.picbasic.co.uk/forum/showthread.php?t=3251 or http://darreltaylor.com/DT_INTS-14/intro.html and here http://darreltaylor.com/DT_INTS-14/elapsed.html for your timebase thing.