void setup() {
 Serial.begin(9600);
}

void loop() {
  // read the value from the sensor:
  int sensorValue = analogRead(A0);
  // convert the reading to volts:
  float voltage = (sensorValue *  5.0) / 1024.0;
  Serial.println(voltage);
}