这是经过验证可用的ADC代码,具有很高的参考值. * Basic A2D sample code for an PIC16F87x device. * This code willl set up the A2D module to return an * 8-Bit result. If greater precision is needed, a 10-Bit * result can be returned if read_a2d() is modified to * return the short ((ADRESH