Yes, The correct is, the ADFM bit is seven on ADCON1. In the mid range manul is not correct, showed in five bit. Attention, ADRESL is BANK1 Regards Luis Fernando > Adam, > I haven't gone through your code but check your ADCON1 > settings. Use the chip datasheet as a reference and NOT the > Microchip Mid-range Reference manual. The A/D bits for > selecting right/left justification are wrong in that doccument. > > Cheers, > Andrew > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu