int pote;
void setup() {
  Serial.begin(9600);
   pinMode(3, OUTPUT);
   pinMode(4, OUTPUT);
   pinMode(5, OUTPUT);

}

void loop() {
  pote=analogRead(A3); // lee el potenciometro(0/1023)
  Serial.println(pote);
if((pote>=0)&&(pote<=300)){digitalWrite (3,HIGH);
digitalWrite(4, LOW);
digitalWrite(5, LOW);}
if((pote>=300)&&(pote<=600)){digitalWrite (4,HIGH);
digitalWrite(3, LOW);
digitalWrite(5, LOW);}
if((pote>=600)&&(pote<=900)){digitalWrite (5,HIGH);
digitalWrite(3, LOW);
digitalWrite(4, LOW);}
}