You may want to change to SERIN2 and then use the time out /wait.
Or use an interrupt, but the time out will cause the code to jump someplace else after a given time if the wait character is not seen.Code:SERIN2 PORT, BAUD, TIME OUT, LABEL to goto, [WAIT(?) xyz]
Bookmarks