int led = 6;
void setup() {
Serial.begin(9600);
// put your setup code here, to run once:
}
void loop() {
analogWrite(led, 255);
delay(1000);
analogWrite(led, 120);
delay(1000);
analogWrite(led, 45);
delay(1000);
analogWrite(led, 0);
delay(1500);
analogWrite(led, 45);
delay(1000);
analogWrite(led, 120);
delay(1000);
analogWrite(led, 255);
delay(0);
}