#include "Letter.h"
void setup() {
// put your setup code here, to run once:
volatile char *dir_f=0x30, *dir_k=0x107,*dir_l=0x10a;
*dir_f=0xff;
*dir_l=0xff;
*dir_k=0xff;
}
void loop() {
// put your main code here, to run repeatedly:
volatile char *out_f=0x31, *out_k=0x108, *out_l=0x10b;
long i,j;
volatile long k;
for(i=0; i<16; i++){
for(j=0; j<5; j++){
*out_f=0x01 << i;
*out_l=~(0x01 << j);
(i>7) ? *out_k=0x01 << (i-8) : *out_k=0x00;
for(k=0; k<100000; k++);
}
}
}