void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue = analogRead(A0); // Read Power Supply VCC
float voltage = sensorValue * 5.0 / 1023.0;
Serial.print("Power Supply Output: ");
Serial.print(voltage);
Serial.println("V");
delay(500);
}