#include "header.h"
void setup() {
init_port();
volatile char *outf, *outk;
outf = 0x31; outk = 0x108;
volatile long i;
unsigned char arr[][8] = {{0x1c, 0x22, 0x0e, 0x12, 0x22, 0x1f, 0x00, 0x00},
{0x20, 0x20, 0x20, 0x20, 0x38, 0x24, 0x24, 0x38},
{0x00, 0x1c, 0x20, 0x40, 0x40, 0x40, 0x20, 0x1c},
{0x04, 0x04, 0x04, 0x1c, 0x24, 0x24, 0x24, 0x1c},
{0x00, 0x1c, 0x22, 0x22, 0x3e, 0x20, 0x1e, 0x00}};
char row, col;
while(1){
for(char a=0;a<5;a++){
for(i=0;i<22000;i++){
for(row=0;row<8;row++){
*outk = ~(1<<row);
*outf = arr[a][row];
*outf = 0x00;
}
}
cleardisplay(outf, outk);
}
}
}