> definitely 512 res is enough but at this moment the hardware is > already made and Vref is not used so what ever solution we can > do without Vref is acceptable. Without knowing what the hardware consists of (can you help ?) it's hard to say. What PIC is being used ? What interconnections are there ? Any external switches like FETs or resistive dividers ? and so on ..... -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist