#define pot 33
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
}
int potvalue = 0;
void loop() {
potvalue = analogRead(pot);
Serial.printf("ADC 8bit %d\n",potvalue *255/4095);
delay(1000); // this speeds up the simulation
}