chingfongkee
Newbie level 4
hello everyone, i would like to ask about the LED Dot matrix
i'm new to this device and this is a 5x7 dot matrix
Below showing the small part of the programming coding to display alphabets A to Z..
anyone can explain the logic on the coding to display a alphabet A?
unsigned short Alphabets[130]={ 0x7e, 0×09, 0×09, 0×09, 0x7e, // A
0x7f, 0×49, 0×49, 0×49, 0×36, // B
0x3e, 0×41, 0×41, 0×41, 0×22, // C
0x7f, 0×41, 0×41,0×22, 0x1c, //D
0x7f, 0×49, 0×49, 0×49, 0×63, //E
0x7f, 0×09, 0×09, 0×09, 0×01, //F
0x3e, 0×41, 0×41, 0×49, 0x7a, //G
0x7f, 0×08, 0×08, 0×08, 0x7f, //H
0×00, 0×41, 0x7f, 0×41, 0×00, // I
0×20, 0×40, 0×41, 0x3f, 0×01, //J
0x7f, 0×08, 0×14, 0×22, 0×41, //K
0x7f, 0×40, 0×40, 0×40, 0×60, //L
0x7f, 0×02, 0×04, 0×02, 0x7f, //M
0x7f, 0×04, 0×08, 0×10, 0x7f, //N
0x3e, 0×41, 0×41, 0×41, 0x3e, //O
0x7f, 0×09, 0×09, 0×09, 0×06, //P
0x3e, 0×41, 0×51, 0×21, 0x5e, //Q
0x7f, 0×09, 0×19, 0×29, 0×46, //R
0×46, 0×49, 0×49, 0×49, 0×31, // S
0×01, 0×01, 0x7f, 0×01, 0×01, //T
0x3f, 0×40, 0×40, 0×40, 0x3f, //U
0x1f, 0×20, 0×40, 0×20, 0x1f, //V
0x3f, 0×40, 0×30, 0×40, 0x3f, //W
0×63, 0×14, 0×08, 0×14, 0×63, //X
0×07, 0×08, 0×70, 0×08, 0×07, //Y
0×61, 0×51, 0×49, 0×45, 0×43 // Z
};
i'm new to this device and this is a 5x7 dot matrix
Below showing the small part of the programming coding to display alphabets A to Z..
anyone can explain the logic on the coding to display a alphabet A?
unsigned short Alphabets[130]={ 0x7e, 0×09, 0×09, 0×09, 0x7e, // A
0x7f, 0×49, 0×49, 0×49, 0×36, // B
0x3e, 0×41, 0×41, 0×41, 0×22, // C
0x7f, 0×41, 0×41,0×22, 0x1c, //D
0x7f, 0×49, 0×49, 0×49, 0×63, //E
0x7f, 0×09, 0×09, 0×09, 0×01, //F
0x3e, 0×41, 0×41, 0×49, 0x7a, //G
0x7f, 0×08, 0×08, 0×08, 0x7f, //H
0×00, 0×41, 0x7f, 0×41, 0×00, // I
0×20, 0×40, 0×41, 0x3f, 0×01, //J
0x7f, 0×08, 0×14, 0×22, 0×41, //K
0x7f, 0×40, 0×40, 0×40, 0×60, //L
0x7f, 0×02, 0×04, 0×02, 0x7f, //M
0x7f, 0×04, 0×08, 0×10, 0x7f, //N
0x3e, 0×41, 0×41, 0×41, 0x3e, //O
0x7f, 0×09, 0×09, 0×09, 0×06, //P
0x3e, 0×41, 0×51, 0×21, 0x5e, //Q
0x7f, 0×09, 0×19, 0×29, 0×46, //R
0×46, 0×49, 0×49, 0×49, 0×31, // S
0×01, 0×01, 0x7f, 0×01, 0×01, //T
0x3f, 0×40, 0×40, 0×40, 0x3f, //U
0x1f, 0×20, 0×40, 0×20, 0x1f, //V
0x3f, 0×40, 0×30, 0×40, 0x3f, //W
0×63, 0×14, 0×08, 0×14, 0×63, //X
0×07, 0×08, 0×70, 0×08, 0×07, //Y
0×61, 0×51, 0×49, 0×45, 0×43 // Z
};