const int LED =3;
const int potenciometro =0;
int intensidad;
void setup() {
// put your setup code here, to run once:
pinMode (LED, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
intensidad = analogRead (potenciometro) / 4;
analogWrite(LED, intensidad);
}