Did you mean +2.0V and +3.0V ? Which PIC? I remember some PICs require 2.0V minimum separation between Vref+ and Vref-. Cheers, -Neil. On Sunday 02 October 2005 01:39 pm, Wouter van Ooijen scribbled: > Part II of my most stupid [PIC] mistakes. > > I am trying to read an ADXL two-axis accelerometer. It outputs 2.5V +/- > 0.3V, so to increase the A/D resolution I use 2.0 as -ref and 3.0 as > +ref. But I only got either 000 or 3FF as A/D reading. I was totally > flabbergasted, untill I re-checked which pin is -ref and which +ref. I > had of course switched the pins. > > Wouter van Ooijen > > -- ------------------------------------------- > Van Ooijen Technische Informatica: www.voti.nl > consultancy, development, PICmicro products > docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist