const int potoin=34;
int potval=0;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
delay(1000);
}
void loop() {
// put your main code here, to run repeatedly:
potval=analogRead(potoin);
Serial.println(potval);
delay(500); // this speeds up the simulation
}