#include "header.h"
void setup() {
init_port();
volatile char *outf, *outk;
outf = 0x31; outk = 0x108;
volatile long i;
unsigned char arr[][8] = {{0x00, 0x00, 0x38, 0x44, 0x44, 0x44, 0x44, 0x38},
{0x10, 0x30, 0x50, 0x90, 0x10, 0x10, 0x10, 0xFF},
{0x38, 0x44, 0x84, 0x08, 0x10, 0x20, 0x40, 0xfc},
{0x00, 0x18, 0x24, 0x04, 0x18, 0x04, 0x24, 0x18},
{0x04, 0x0c, 0x14, 0x24, 0x44, 0xff, 0x04, 0x04}};
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);
}
}
}