Hi, In the article it mentions TMR1 clock input - RC2. THE 16F877 datasheet says that RC2 is a CCP1 pin. Also RC0 is TMR1 clock input. Am I missing something or is really an error in the article. From the code it seems the rpm input is supposed to go to CCP1 capture input on RC2 Can some please verify my doubts. Thanks. Link: cnx.org/content/m32948/latest --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .