#define pot 12
#define slidepot 13
int potval = 0;
int slidepotval = 0;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
pinMode(pot, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
delay(100); // this speeds up the simulation
potval = analogRead(pot);
slidepotval = analogRead(slidepot);
Serial.print("Potvalue:");
Serial.print(potval);
Serial.print(" ");
Serial.print("Slide Pot Value: ");
Serial.println(slidepotval);
}