Dave Dilatush wrote : > You wrote... > > >...For a Left-justified > >return the result would be 0..16368. > > No, it'll be 0...65472. And it will jump in large "steps" so there isn't realy more resolution, just more work for the binary -> ASCII conversion routine. > If you want to scale the input to the A/D with a voltage divider > so that the full-scale A/D result corresponds to 16.384 volts, The question is, is a 1 mV resolution realy needed to monitor a (car ?) battery ? And besided, couldn't the other side of the serial link do the scaling of the ADC values ? Depending on what's there, that could be easier. Jan-Erik. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.