Is this your current code
For hardware usart I have never used the last three lines and I am wondering what they do. Any ideas anybody?Code:DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive DEFINE HSER_TXSTA 24h ' Enable transmit, BRGH = 1 DEFINE HSER_SPBRG 129 ' 9600 Baud @ 20MHz, 0.16% DEFINE HSER_CLROERR 1 ' Clear overflow automatically APFCON0.2 = 1 APFCON0.7 = 1 OPTION_REG.6 = 1
Bookmarks