int Potenciometro = A1;
int valorPotenciometro;
int led = 5;
void setup() {
  pinMode(led, OUTPUT);
  pinMode(Potenciometro, INPUT);
  Serial.begin(9600);
  // put your setup code here, to run once:
}
void loop() {
 valorPotenciometro = analogRead(Potenciometro)/4;
 analogWrite(led,valorPotenciometro);
 Serial.println(valorPotenciometro); // put your main code here, to run repeatedly: 
}