If you don't use MAX232 between you PC and PIC you'll need to select inverted mode.
under MicroCode studio serial windowCode:SEROUT PORTB.0,N2400,["hello"] ' 2400 inverted, true driven SEROUT2 PORTB.0,16780,["hello"] ' also 2400 bauds, inverted, true driven
Mode 2400,n,8,1 : 2400 bauds, no paritry,8 data bits, 1 stop bit
don't care about bit 14,15 and blah blah blah, just refer to the table at the end, choose you baudrate, inverted or not and, true driven. That will do the job.
Bookmarks