#define POT_PIN 2
void setup() {
// put your setup code here, to run once:
pinMode(POT_PIN, INPUT);
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println(analogRead(POT_PIN));
delay(10); // this speeds up the simulation
}