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