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 / 1023.0;
Serial.print("ADC Value: ");
Serial.print(reading);
Serial.print(" | Voltage: ");
Serial.print(voltage);
Serial.println(" V ");
delay(200);
}