I've been looking for a real 10bit number in A/D conversion. If the bit (ADFM=1) right justified the 10bit number I think, would be: low_byte = ADRESL and high_byte = (ADRESH just the bits 0,1), but I can't do it work. If the bit (ADFM=0) left justified the 10bit number would be: low_bye = (ADRESL just the bits 6,7) and high_byte = ADRESH. If I do that, my circuit became crazy. There are something wrong in it. But if I only do a normal 8bit number in left justified, both ADRESH or ADRESL works like a 8bit number. I conect the Vref+ = VDD and Vref- = VSS. (bits PCFG = 1110) How could I get a real 10 bit number in A/D of the PIC16F87X. I would appreciate, if someone could make a suggestion. Best Regarsd Anbar