If you're using a 20MHz clock RCTIME will "timeout" after 0,131sec(65535*2us). By using ......

DEFINE PULSIN_MAX 25000

....... it will timeout in 50ms(25000*2us). It's all in the manual.

/Ingvar