Looking at your code, there are some issues.... mostly with sprintf, It over writes message, and doesnt convert the %f correctly.
works for me...
int sensorValue = analogRead(MFC_SENSOR); char message[25]; char voltagechararray[6+2]; double voltage = sensorValue * (5.0 / 1023.0); dtostrf(voltage, 6, 2, voltagechararray); sprintf(message, "Voltage: %s", voltagechararray); lcd_setstatus(message);
works for me...