int outPin = 11;
void setup() {
// put your setup code here, to run once:
pinMode(outPin, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
for(int i = 0 ; i <= 255; i+=20){
digitalWrite(outPin,i);
delay(500);
}
delay(1000);
}