>Based on this, I simply don't understand the F84 fixation. because from an earlier reply to one I suggested the 16F627/8 he already has a number of them. The way to do it without having the CCP is to use the INTR input to start the timer on the rising edge of the waveform, change the edge sensitivity to falling edge, on the next interrupt save the timer count and set the edge sensitivity back to rising edge. Initialise the timer ready to start counting again on the next interrupt. The value you have saved is the pulse width. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu