hi,
im having dificulties on ADC in PIC16F877A. i did the programming and it works fine with hardware. the problem here is when the input(RA0) is not present, the output of the adc is random and not zero. it supposed to be zero right?
note: the adc output goes well when there are analog input level between the Vref+ and Vref-.
im having dificulties on ADC in PIC16F877A. i did the programming and it works fine with hardware. the problem here is when the input(RA0) is not present, the output of the adc is random and not zero. it supposed to be zero right?
note: the adc output goes well when there are analog input level between the Vref+ and Vref-.