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
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