Code:DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive DEFINE HSER_TXSTA 24h ' Enable transmit, BRGH = 1 DEFINE HSER_SPBRG 25 ' 9600 Baud @ 4MHz, 0,16% DEFINE HSER_CLROERR 1 ' Clear overflow automatically
Tray to replace your USART setting with the one given above.
Al.
Bookmarks