#include "header.h"
void setup() {
init_port();
volatile char *outf, *outk;
outf = 0x31; outk = 0x108;
volatile long i;
unsigned char arr[][8] = {{0x82, 0x82, 0x82, 0x82, 0x92, 0xaa, 0xc6, 0x82},
{0x00, 0x78, 0x84, 0x84, 0xfc, 0x80, 0x44, 0x38},
{0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80},
{0x38, 0x44, 0x80, 0x80, 0x80, 0x80, 0x44, 0x38},
{0x38, 0x44, 0x82, 0x82, 0x82, 0x82, 0x44, 0x38},
{0x00, 0x6c, 0x92, 0x92, 0x92, 0x92, 0x92, 0x92},
{0x00, 0x78, 0x84, 0x84, 0xfc, 0x80, 0x44, 0x38}};
char row, col;
while(1){
for(char a=0;a<7;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);
}
}
}