madogas WROTE:ANALOGREAD = ADC_Read(1);
ANALOGREAD = SENSORVALUE;
// PRINT OUT THE VALUE YOU READ:
VOLTAGEVALUE = SENSORVALUE*4.88E-3;
Lcd_Out(2,4,VOLTAGEVALUE);
I guess the problem lies here... You didn't assign the analog value into the variable you used for calculation. Accidentally inverted the equation?