int led = 11; void setup() { } void loop() { for(int i=0; i<256; i++) { analogWrite(led, i); delay(50); } }