Quote Originally Posted by Kenjones1935 View Post
There are no such entrees in the PIC16F8xx .inc files.

How do I find out what BAUDCON means in its context so that I can translate to my PICkit 2 context?
Hi Ken,
He is using an 18F part, look in the data sheet for the chip he is using.
For your code just comment that line out and try it. I think I would try different settings in the defines which control the Baud Rate of the hardware serial port as he set up for 19200, but you could use that.
Ok, 18F4520 has EUSART which uses BAUDCON and reconfigures pin as both input/output on the fly . . .
You got snow, we got rain . . .