int LED = 3;
int BRILLO;
int POT = A0;
void setup() {
// put your setup code here, to run once:
pinMode(LED,OUTPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
BRILLO = analogRead(POT)/4;
analogWrite(LED,BRILLO);
Serial.println(BRILLO);
}