Hi all, this is for VW bug engine. I have square wave pulse. I use function generator to generate it. every 4t= h=20 pulse is =20 1 cycle. I am using pic12f683 capture input to read this pulse and I setup = to=20 read every 4th pulse. some thing=20 basic I am not picturing right. I need to find out how fast this engine (pu= lse)=20 is running so engine is based on RPM revolution per minute. in this case I have to setup a time and count pulses= to=20 determine the speed. Since it is RPM counting 1 minute makes no sense so my question is how fast I should count= =20 pulses to determine RPM? another words lets say RPM shows 1000 revolution per minute if break it down will be in = 1=20 second 16.666 revolution so should I count for 1 second and expect 16 or 17 counts?=20 I do not know for some reason I am not picturing it right... any suggestion ? thanks Andre =20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .