const int potPin = 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(potPin);
Serial.println(potValue);
delay(10); // this speeds up the simulation
}