What about PULSIN?

It has 16 bit resolution and at 4MHz, the PULSIN resolution is 10uS.
If you DON'T receive a pulse doesn't the PIC wait for 65535 x 10uS (0.655 seconds) before it "moves along" to something else?
Perhaps you need a define to determine the max PULSIN time?

IE:
PULSIN_MAX 1000 'Maximum counts allowed before pulsin times out


Just a thought.


steve