Wouldn't it be a good idea if the capture module have a 'one shot' capabillity. Example: After enable, 1st trigger edge: reset TMR1 2nd trigger edge: capture, flag and disable. Surely this would make it much more usable. The project I'm working on now is using a 16F876 clocked at 20MHz and has to control a binary stream of data which appears on a video display monitor, at the same time, monitor RC2 for speed pulses from 0 - 1KHz, monitor RS232 and act on input, control a throttle servo and solenoid, control a stepper motor and a few other housekeeping tasks. Part of the problem is that the video data stream bogs down the bandwidth somewhat, so it can't wait around for trigger changes on a pin to occur and it misses some while servicing the video interrupts. I've been trying for 5 days now to get this chip to make use of the capture module while coping with the other software overhead. It can be a real pain if you don't know when asyncronous pulses arrive, checking TMR1 for overflows, subtracting new from old etc... Anyway, that's my gripe. I finally got all this to work today, but it sure would have been simpler with a better designed capture module. -- Best regards Tony mICros http://www.bubblesoftonline.com mailto:sales@bubblesoftonline.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics