const int PIN = 1;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32-S3!");
pinMode(PIN, INPUT);
analogReadResolution(12);
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
int analog_value = analogRead(PIN);
Serial.println(analog_value);
delay(500);
}