int SEGMENT_DIGITS[]={0x40,0x79,0x24,0x30,0x19,0x12,0x02,0x78,0x00,0x10,0x48,0x03,0x46,0x28,0x06,0x0E};
void setup() {
// put your setup code here, to run once:
DDRD=0XFF;
}
void loop() {
// put your main code here, to run repeatedly:
for(int j=0;j<10;j++)
{
PORTD=SEGMENT_DIGITS[j];
delay(1000);
}
}