Instructions
www.joy-it.net
Pascalstr. 8 47506 Neukirchen-Vluyn
// Set an array to store letters from 0
unsigned char Text[]={0x00,0x1c,0x22,0x22,0x22,0x22,0x22,0x1c};
void Draw_point(unsigned char x,unsigned char y) { // draw-point function
clear_();
digitalWrite(x+2, HIGH);
digitalWrite(y+10, LOW);
delay(1);
}
void show_num(void) { // display function, calls draw-point function
unsigned char i,j,data;
for(i=0;i<8;i++) {
data=Text[i];
for(j=0;j<8;j++) {
if(data & 0x01)
Draw_point(j,i);
data>>=1;
}
}
}
Make sure that the LED matrix is connected properly. Under the matrix
there is a bulge (picture) where you can compare the position of your
matrix with the matrix on the picture.