void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
pinMode(4, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int value=analogRead(4);
Serial.println(value);
delay(100); // this speeds up the simulation
delay(10);
}