int sensorValue;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
sensorValue=0;
}
void loop() {
// put your main code here, to run repeatedly:
delay(1000); // this speeds up the simulation
sensorValue = analogRead(A0);
Serial.print("Read from sensor = ");
Serial.print(sensorValue,DEC);
Serial.println();
}