So I'm learning about the ADC now and I'm trying to make a conversion from PC5 and print the output to my LCD. The output value is always 1023 from the ADC and I'm not sure why. I have two 1k resistors wired up and I'm taking the vout from between them.... the voltage should be half of the source so the value should be 512?
Here is my breadboard - http://s29.postimg.org/ns2g8r32v...
Here is my code - http://pastie.org/10071039
Thanks in advance for any help.
I have added your code to the thread in the attached TXT file - JGM