These binary codes define the image. Each line defines the state of the 8 LEDs (0 = off, 1 = on). The rest of the code cycles throught these lines in succession to create the POV image. If you look at them sideways, you can sort of see the pattern. Remember, all the 1's will be lit up. I've added some comments below to illustrate.
- Code: Select all
const static int image[] = {
// these lines make a lower case 'm'
B8(00111100),
B8(00000100),
B8(00111000),
B8(00000100),
B8(00111000),
// blank space between letters
B8(00000000),
// this line is an 'i'
B8(00111101),
// another blank space
B8(00000000),
// These lines make an 'n'
B8(00111100),
B8(00000100),
B8(00000100),
B8(00111000),
B8(00000000),
B8(00111101),
B8(00000000),
B8(11111100),
B8(00100100),
B8(00100100),
B8(00011000),
B8(00000000),
B8(00011000),
B8(00100100),
B8(00100100),
B8(00011000),
B8(00000000),
B8(00000100),
B8(00111000),
B8(00010000),
B8(00001100),
B8(00000000),
B8(00101111),
B8(00000000),
B8(00000000),
B8(00000000),
B8(00000000),
B8(00000000),
B8(00000000),
};