Sorry for the code, I have missed the *Main* while writing the question. It actually is there in my code.
I will correct my code statements to the following:
Code:
Main:
high led : pause 50 : low led
Serin FromRx,N2400,200,Main,["pp3"],code
.....rest of the code here
goto Main
The code enters main label and led blinks, but then it stops. I expect it to blink after every 200mS which is not happening.
Couple of times this happened as well that program entered main label, led blinked few times lets say 5 or 6 after every 200mS but then it stopped again.
I cannot understand this erratic behaviour of my PIC.
Bookmarks