Led berjalan pada Port B

//Program LED Berjalan

#include
#include
void main()
{
DDRB=0b11111111;
while(1)
{

PORTB=0b00000001;
delay_ms(1000);
PORTB=0b00000010;
delay_ms(1000);
PORTB=0b00000100;
delay_ms(1000);
PORTB=0b00001000;
delay_ms(1000);
PORTB=0b00010000;
delay_ms(1000);
PORTB=0b00100000;
delay_ms(1000);
PORTB=0b01000000;
delay_ms(1000);
PORTB=0b10000000;
delay_ms(1000);
}

}