int a[10]={0xFC,0x60,0xDA,0xF2,0x66,0xB6,0xBE,0xE0,0xFE,0xF6};
int b[10]={0x7C,0x60,0x5A,0x72,0x66,0x36,0x3E,0x60,0x7E,0x76};
int c[10]={1,0,1,1,0,1,1,1,1,1};
void setup() {
// put your setup code here, to run once:
for(int i=0;i<=9;i++){
pinMode(i, OUTPUT);
}
pinMode(A5, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
for(int j=0;j<=9;j++){
for(int k=0;k<=9;k++){
PORTD=(a[j]);
PORTB=(b[k]);
PORTC=(c[k]);
delay(1000);
}
}
}