Here is the code listing. The compiler complains about the RCSTA1.7 = 0 command. If I comment it out, the rest of the code compiles fine. The error message is "bad expression"
code:
recvoff:
RCSTA1.7 = 0
while ! TXSTA1.1 :wend 'wait til TX completes
TXSTA1.5 = 0 'turn off EUSART1 TX
END SELECT 'done with this
return




Bookmarks