When you switch the baudrate you have to set both SPBRG2 and SPBRGH2.
Try:Code:SPBRG2 = 160 ' 38400 Baud @ 64MHz, -0,08% SPBRGH2 = 1 Pause 500
When you switch the baudrate you have to set both SPBRG2 and SPBRGH2.
Try:Code:SPBRG2 = 160 ' 38400 Baud @ 64MHz, -0,08% SPBRGH2 = 1 Pause 500
Bookmarks