On Interrupt CCP1 Call PulseReceived
Prithvi reports ann error on this line can you see it ?
The SUBROUTINE is:
Sub PulseReceived (CapturedTime As word)
CCP1IE = 0 ' Disable CCP1 interrupt then reset CCP1
CCP1CON = b'00000000'
********
End Sub
LEDoff