LED doesnt turn ON (or OFF)

Grumpy_Mike:
I have no idea why you want to use code like this on an arduino but change this line to:-

#define LED 5 // LED is on Pin 13 or Pin 5 of Port B

and change both the delays in the loop to:-

_delay_us(1000);

And it works

In my case it didnt worked, but I have changed LED to be 6 and _delay_us(10000)
Then it worked..