>Vref=2.5V from the pic16f628 ? how do you get this vref from the 16F628 chip? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist