#define LED 3
void setup(){
pinMode(3, OUTPUT);

}
void loop(){
int i;
for(i=0;i<=10;i++){
 analogWrite(3, i);
 delay(1000);

}
for(i=10;i>=0;i--){
 analogWrite(3, i);
 delay(1000);
}
}