#include <avr/io.h>

int seven_led[] ={0x88, 0xEB, 0x58, 0x49, 0x2B, 0x4A, 0x48, 0x8E, 0x08, 0x0B};
void delay(int cnt)
{
	volatile int i,j;
	
	for(i=0; i<cnt; i++)
		for(j=0; j<cnt; j++)
		;
}
int main(void)
{ int value;

	DDRA = 0xFF;
	
	value = 0;
	while(1) {
	PORTA = seven_led[value];
	value = (value >=9) ? 0 : value + 1;
	delay(1000);
	}

return 0;
}