Assuming a 20MHz clock (5MHz instruction) rate.... Setup timer 1 to count instruction cycles with a prescaler of 8. This will result in a counting frequency of 625,000 per second. Setup CCP1 as follows: CCP1M = B'1011' CCPR1H:CCPR1L = 62499 These settings will cause timer 1 to count from 0 through 62499 and then back to zero again. On each reset, the CCP1IF flag is set. Thus you will get exactly ten interrupts per second. (btw: I am not sure if you need to set CCPR1H:CCPR1L to 62499 or 62500). Bob Ammerman RAm Systems -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body