const int pinPot = 4;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println("Lectura del potenciómetro");
}
void loop() {
int value = analogRead(pinPot);
Serial.println(value);
// put your main code here, to run repeatedly:
delay(20);
//delay(10); // this speeds up the simulation
}