Wouter van Ooijen wrote: > 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. Also don't you need a minimum of 2V(?) from Vref- to Vref+ even if they are otherwise within range? ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist