const int pinInput = 34;
int potValue=0;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32 Analog Input");
delay(1000);
}
void loop() {
potValue=analogRead(pinInput);
Serial.println(potValue);
delay(1000); // this speeds up the simulation
}