#include "header.h"
void setup() {
init_port();
volatile char *outf, *outk;
outf = 0x31; outk = 0x108;
char row, col;
while(1){
for(row=0;row<8;row++){
*outk = ~(1<<row);
for(col=0;col<8;col++){
*outf = (1<<col);
delay1(15);
*outf = 0x00;
}
}
}
}