Skip the "PBP Project book".
Have another look at the datasheet for an 18F4550.
http://ww1.microchip.com/downloads/e...Doc/39632e.pdf
Page 266, Register 21-2 ADCON1
ADCON1 = %00001011
Also notice that the ADFM bit isn't in ADCON1 anymore.
ADCON2.7 = 1
Bookmarks