The Dave Houston page to read, but study his whole site for that matter.
http://davehouston.org/RFTipsTricks.htm
If you are using DEFINE to set up the HSER then do not add these lines. That is what the DEFINES are for.
The 93 thing has me confused at the moment.Code:RCSTA = $90 ' Enable serial port & continuous receive TXSTA = $20 ' Enable transmit, BRGH = 0 SPBRG = 51 ' 2400 Baud @ 8MHz, 0.17%
You might try SERIN2/SEROUT2 for giggles while you are playing with this serial stuff...
Bookmarks