Quote Originally Posted by mpardinho View Post
i don't found in pdf
?? INTEDG = ?? ' 1 = rising edge of Port B.0
?? TRM0 = 0 'Reset timer
I'll bet anything...almost anything...that if you used the word 'edge' or 'rising' as a search parameter in the datasheet, you'll find your answer.

?? TRM0 = 0 'Reset timer
And you'll never find this in the datasheet...but you might find TMR0.