void setup () { //set the LED_builtin pin (pin 13 on IDE) as an output DDRB=32; } void loop () { PORTB=32; for(long i=0; i<1000000; i++) { PORTB=32;//the delay for turn the led on } PORTB=0;//after the delay set by the for statement set the LED off for(long i=0; i<1000000; i++) { PORTB=0;//de delay for turn the LED off } }