I am using a PIC 18F242 with 20mhz. I want to assign PinA.0 as an ADC input and all other Port A pins as digital inputs. I am currently using TrisaA = %11111111 and ADCON1 = %1001111. The digital input on PortA.2 does not appear to be working, and I assume there is a problem with the way I am reading the ADCON chart. Is ADCON1 = %1001111 correct?