We were looking at the Get_Analog_Value and noticed that for the 18f8722 case, the OpenADC call configures the ADC to use zero of the analog channels. Not only that, but it does it using a literal “15” with no comment. This “15” is loaded into ADCON1 bits 3-0 which (looking at the data sheet) configures all lines to be digital. If set to “0” instead, it would configure all lines to be analog.
Not sure why this is being done, but it doesn’t seem like it should work. Has anyone been able to try this to determine if it’s a problem?