The easy way to figure the USART settings is to use Mister E's PicMultiCalc
http://www.picbasic.co.uk/forum/showthread.php?t=4994
It gives
But even changing the baud I still think you will need an inverter.Code:RCSTA = $90 ' Enable serial port & continuous receive TXSTA = $24 ' Enable transmit, BRGH = 1 SPBRG = 25 ' 9600 Baud @ 4MHz, 0.16%
Bookmarks