good day to all in this forum,
I am currently using PIC18f252 for receiving a data stream via UART connected to portc.6 .
I use the following method: SERIN2 RX_12,396,3000,WARNE ,[WAIT("T="),STR TE\4 ] . Mode is 0.
Everything work well but the WARNE label is not fired if the portc.6 pin is stack LOW.. It works correctly if the pin stays HIGH all the time .
Just to summarize the timeout label is fired in case of "T=" is not received within 3 secs and the line stays HIGH.
"T=" could not be received for the following reasons:
> because not transmitted
> because the line is staked LOW
> because the line is stacked HIGH.
I am asking if there is a possibility to jump to timeout label in all three condition.
Any assistance is appreciated.
Thanks in advance.
Regards,