Yep I realized that and fixed it. Now with a 3V DC input I get the following terminal output ; 153 153 153.. 3 is correct but couldn't figure out what 1 is? 5 is circuit Vcc but why it is read from AN0 ? On Mon, Jun 7, 2010 at 8:17 AM, RussellMc wrote: > > It is basicly " > > > http://www.best-microcontroller-projects.com/support-files/lcd-volt-meter.pdf > " > > this circuit, I just ported it to usart. > > Their input is 0-5V. > It's the negative swing that is the problem. > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist