if you receive your data directly from your PC you'll have to use SERIN in inverted mode. The data will be automatically set as the original on the PC.
PC send and receive inverted. This is one of the reason why we use MAX232 when using the internal USART of a PIC when available.
Bookmarks