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