> think of the switches as bits of a D/A and wire them up in > a R-2R ladder http://en.wikipedia.org/wiki/Resistor_ladder As I'm looking for 15 reasonably-well-defined discrete steps and not the precision of absolute voltages, 1% resistors should be OK I can use the same search and compare s/w, the only difference being that the expected A/D results will be in order of the binary value of the switches Joe * * ********** Quality PIC programmers http://www.embedinc.com/products/index.htm --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .