ive been playing with ADC and ive used a potential divider (2 10k resistors in series) connected to AN0 of my chip Pic 16f1825, potential divider is connected to the circuits 5v supply, as i expected the display shows 2.5v, but if i alter the circuits 5v supply the lcd stays steady at 2.50v, however if i connect a potentiometer to the analogue input the reading goes from 0v to 5v just as in simulation, i thought by altering the voltage supply this would have affected the reading on the divider but it doesnt, what am i missing, is it a case of re-writing the calculation using the resistor values,

regards bob