int commmonAnode [] = {0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90};
void setup() {
// put your setup code here, to run once:
DDRD = B11111111;
}
void loop() {
// put your main code here, to run repeatedly:
for (int j=0; j<10; j++) {
PORTD = commmonAnode [j];
delay(1000);
}
}