On 10/3/05, Wouter van Ooijen wrote: > > Still have doubts that you have the entire 10 bit resolution. > > I think not. In fact I'm sure. > > It seems I do get the resolution. Probably not the linearity, but I > don't need that. > > What makes you sure? If you are not mistaken then is an interesting PIC AD behaviour. Probably something is changed since the first PICs on 16F series.What PIC are you using ? The standard 16F version neeed at least 2...2.2V margin between Vref- and Vref+ if supplied at 5V. At 1V margin as you have, resolution was very poor. cheers, Vasile -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist