Introduction - If you have any usage issues, please Google them yourself
PIC programming examples in Chapter VIII, contains four programs:
S081: using queries AN0 analog channel 10-bit A/D conversion result sent D port, C port display
S082: using interrupt AN0 analog channel 10-bit A/D conversion result sent D port, C port display
S083: measuring ground resistance potentiometer RV2 and displayed on four digital tube.
answer: Answer to Exercise Program