void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
int reading = analogRead(A0);
float voltage = reading * (5.0 / 1023.0);
Serial.print("Reading: ");
Serial.println(reading);
Serial.print("Voltage: ");
Serial.println(voltage);
}