Library for Sure Electronics HT1632 based LED matrix displays. Supports multiple displays connected together.
Dependents: HT1632MsgScroller SMS_LEDMatrixPrinter
font_5x7_p.h@15:9323fab1db01, 2013-07-29 (annotated)
- Committer:
- SomeRandomBloke
- Date:
- Mon Jul 29 21:15:53 2013 +0000
- Revision:
- 15:9323fab1db01
- Parent:
- 9:8a3c981babd9
minor fix
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
SomeRandomBloke | 9:8a3c981babd9 | 1 | // Font definition for basic proportinal 5x7 font |
SomeRandomBloke | 0:b3e0f5bb3b87 | 2 | // 1 pixel space at left and bottom |
SomeRandomBloke | 0:b3e0f5bb3b87 | 3 | // index = ASCII - 32 |
SomeRandomBloke | 0:b3e0f5bb3b87 | 4 | |
SomeRandomBloke | 0:b3e0f5bb3b87 | 5 | //***** Small fonts (5x7) ********** |
SomeRandomBloke | 0:b3e0f5bb3b87 | 6 | |
SomeRandomBloke | 0:b3e0f5bb3b87 | 7 | static const unsigned char smallFont[][7] = |
SomeRandomBloke | 0:b3e0f5bb3b87 | 8 | { |
SomeRandomBloke | 0:b3e0f5bb3b87 | 9 | {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 4} , // sp |
SomeRandomBloke | 0:b3e0f5bb3b87 | 10 | {0x5f, 0x00, 0x00, 0x00, 0x00, 0x00, 2} , // ! |
SomeRandomBloke | 0:b3e0f5bb3b87 | 11 | {0x03, 0x00, 0x03, 0x00, 0x00, 0x00, 4} , // " |
SomeRandomBloke | 0:b3e0f5bb3b87 | 12 | {0x14, 0x3e, 0x14, 0x3e, 0x14, 0x00, 6} , // # |
SomeRandomBloke | 0:b3e0f5bb3b87 | 13 | {0x24, 0x2a, 0x7f, 0x2a, 0x12, 0x00, 6} , // $ |
SomeRandomBloke | 0:b3e0f5bb3b87 | 14 | {0x23, 0x13, 0x08, 0x64, 0x62, 0x00, 6} , // % |
SomeRandomBloke | 0:b3e0f5bb3b87 | 15 | {0x36, 0x49, 0x56, 0x20, 0x50, 0x00, 6} , // & |
SomeRandomBloke | 0:b3e0f5bb3b87 | 16 | {0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 2} , // ' |
SomeRandomBloke | 0:b3e0f5bb3b87 | 17 | {0x1c, 0x22, 0x41, 0x00, 0x00, 0x00, 4} , // ( |
SomeRandomBloke | 0:b3e0f5bb3b87 | 18 | {0x41, 0x22, 0x1c, 0x00, 0x00, 0x00, 4} , // ) |
SomeRandomBloke | 0:b3e0f5bb3b87 | 19 | {0x2a, 0x1c, 0x7f, 0x1c, 0x2a, 0x00, 6} , // * |
SomeRandomBloke | 0:b3e0f5bb3b87 | 20 | {0x08, 0x08, 0x3E, 0x08, 0x08, 0x00, 6} , // + |
SomeRandomBloke | 0:b3e0f5bb3b87 | 21 | {0x50, 0x30, 0x00, 0x00, 0x00, 0x00, 3} , // , |
SomeRandomBloke | 0:b3e0f5bb3b87 | 22 | {0x08, 0x08, 0x08, 0x08, 0x08, 0x00, 6} , // - |
SomeRandomBloke | 0:b3e0f5bb3b87 | 23 | {0x60, 0x60, 0x00, 0x00, 0x00, 0x00, 3} , // . |
SomeRandomBloke | 0:b3e0f5bb3b87 | 24 | {0x20, 0x10, 0x08, 0x04, 0x02, 0x00, 6} , // / |
SomeRandomBloke | 0:b3e0f5bb3b87 | 25 | {0x3E, 0x51, 0x49, 0x45, 0x3E, 0x00, 6} , // 0 |
SomeRandomBloke | 0:b3e0f5bb3b87 | 26 | {0x42, 0x7F, 0x40, 0x00, 0x00, 0x00, 4} , // 1 |
SomeRandomBloke | 0:b3e0f5bb3b87 | 27 | {0x42, 0x61, 0x51, 0x49, 0x46, 0x00, 6} , // 2 |
SomeRandomBloke | 0:b3e0f5bb3b87 | 28 | {0x22, 0x41, 0x49, 0x49, 0x36, 0x00, 6} , // 3 |
SomeRandomBloke | 0:b3e0f5bb3b87 | 29 | {0x18, 0x14, 0x12, 0x7F, 0x10, 0x00, 6} , // 4 |
SomeRandomBloke | 0:b3e0f5bb3b87 | 30 | {0x27, 0x45, 0x45, 0x45, 0x39, 0x00, 6} , // 5 |
SomeRandomBloke | 0:b3e0f5bb3b87 | 31 | {0x3C, 0x4A, 0x49, 0x49, 0x30, 0x00, 6} , // 6 |
SomeRandomBloke | 0:b3e0f5bb3b87 | 32 | {0x01, 0x71, 0x09, 0x05, 0x03, 0x00, 6} , // 7 |
SomeRandomBloke | 0:b3e0f5bb3b87 | 33 | {0x36, 0x49, 0x49, 0x49, 0x36, 0x00, 6} , // 8 |
SomeRandomBloke | 0:b3e0f5bb3b87 | 34 | {0x06, 0x49, 0x49, 0x49, 0x3E, 0x00, 6} , // 9 |
SomeRandomBloke | 0:b3e0f5bb3b87 | 35 | {0x36, 0x36, 0x00, 0x00, 0x00, 0x00, 3} , // : |
SomeRandomBloke | 0:b3e0f5bb3b87 | 36 | {0x56, 0x36, 0x00, 0x00, 0x00, 0x00, 3} , // ; |
SomeRandomBloke | 0:b3e0f5bb3b87 | 37 | {0x08, 0x14, 0x22, 0x41, 0x00, 0x00, 5} , // < |
SomeRandomBloke | 0:b3e0f5bb3b87 | 38 | {0x14, 0x14, 0x14, 0x14, 0x14, 0x00, 6} , // = |
SomeRandomBloke | 0:b3e0f5bb3b87 | 39 | {0x41, 0x22, 0x14, 0x08, 0x00, 0x00, 5} , // > |
SomeRandomBloke | 0:b3e0f5bb3b87 | 40 | {0x02, 0x01, 0x51, 0x09, 0x06, 0x00, 6} , // ? |
SomeRandomBloke | 0:b3e0f5bb3b87 | 41 | {0x3e, 0x41, 0x5d, 0x55, 0x5E, 0x00, 6} , // @ |
SomeRandomBloke | 0:b3e0f5bb3b87 | 42 | {0x7c, 0x12, 0x11, 0x12, 0x7c, 0x00, 6} , // A |
SomeRandomBloke | 0:b3e0f5bb3b87 | 43 | {0x7F, 0x49, 0x49, 0x49, 0x36, 0x00, 6} , // B |
SomeRandomBloke | 0:b3e0f5bb3b87 | 44 | {0x3E, 0x41, 0x41, 0x41, 0x22, 0x00, 6} , // C |
SomeRandomBloke | 0:b3e0f5bb3b87 | 45 | {0x7F, 0x41, 0x41, 0x41, 0x3e, 0x00, 6} , // D |
SomeRandomBloke | 0:b3e0f5bb3b87 | 46 | {0x7F, 0x49, 0x49, 0x49, 0x41, 0x00, 6} , // E |
SomeRandomBloke | 0:b3e0f5bb3b87 | 47 | {0x7F, 0x09, 0x09, 0x09, 0x01, 0x00, 6} , // F |
SomeRandomBloke | 0:b3e0f5bb3b87 | 48 | {0x3E, 0x41, 0x49, 0x49, 0x3A, 0x00, 6} , // G |
SomeRandomBloke | 0:b3e0f5bb3b87 | 49 | {0x7F, 0x08, 0x08, 0x08, 0x7F, 0x00, 6} , // H |
SomeRandomBloke | 0:b3e0f5bb3b87 | 50 | {0x41, 0x7F, 0x41, 0x00, 0x00, 0x00, 4} , // I |
SomeRandomBloke | 0:b3e0f5bb3b87 | 51 | {0x20, 0x40, 0x40, 0x3F, 0x00, 0x00, 5} , // J |
SomeRandomBloke | 0:b3e0f5bb3b87 | 52 | {0x7F, 0x08, 0x14, 0x22, 0x41, 0x00, 6} , // K |
SomeRandomBloke | 0:b3e0f5bb3b87 | 53 | {0x7F, 0x40, 0x40, 0x40, 0x40, 0x00, 6} , // L |
SomeRandomBloke | 0:b3e0f5bb3b87 | 54 | {0x7F, 0x02, 0x0C, 0x02, 0x7F, 0x00, 6} , // M |
SomeRandomBloke | 0:b3e0f5bb3b87 | 55 | {0x7F, 0x02, 0x04, 0x08, 0x7F, 0x00, 6} , // N |
SomeRandomBloke | 0:b3e0f5bb3b87 | 56 | {0x3E, 0x41, 0x41, 0x41, 0x3E, 0x00, 6} , // O |
SomeRandomBloke | 0:b3e0f5bb3b87 | 57 | {0x7F, 0x09, 0x09, 0x09, 0x06, 0x00, 6} , // P |
SomeRandomBloke | 0:b3e0f5bb3b87 | 58 | {0x3E, 0x41, 0x51, 0x21, 0x5E, 0x00, 6} , // Q |
SomeRandomBloke | 0:b3e0f5bb3b87 | 59 | {0x7F, 0x09, 0x19, 0x29, 0x46, 0x00, 6} , // R |
SomeRandomBloke | 0:b3e0f5bb3b87 | 60 | {0x26, 0x49, 0x49, 0x49, 0x32, 0x00, 6} , // S |
SomeRandomBloke | 0:b3e0f5bb3b87 | 61 | {0x01, 0x01, 0x7F, 0x01, 0x01, 0x00, 6} , // T |
SomeRandomBloke | 0:b3e0f5bb3b87 | 62 | {0x3F, 0x40, 0x40, 0x40, 0x3F, 0x00, 6} , // U |
SomeRandomBloke | 0:b3e0f5bb3b87 | 63 | {0x1F, 0x20, 0x40, 0x20, 0x1F, 0x00, 6} , // V |
SomeRandomBloke | 0:b3e0f5bb3b87 | 64 | {0x3F, 0x40, 0x38, 0x40, 0x3F, 0x00, 6} , // W |
SomeRandomBloke | 0:b3e0f5bb3b87 | 65 | {0x63, 0x14, 0x08, 0x14, 0x63, 0x00, 6} , // X |
SomeRandomBloke | 0:b3e0f5bb3b87 | 66 | {0x07, 0x08, 0x70, 0x08, 0x07, 0x00, 6} , // Y |
SomeRandomBloke | 0:b3e0f5bb3b87 | 67 | {0x61, 0x51, 0x49, 0x45, 0x43, 0x00, 6} , // Z |
SomeRandomBloke | 0:b3e0f5bb3b87 | 68 | {0x7F, 0x41, 0x41, 0x00, 0x00, 0x00, 4} , // [ |
SomeRandomBloke | 0:b3e0f5bb3b87 | 69 | {0x55, 0x2A, 0x55, 0x2A, 0x55, 0x00, 6} , // Chequer |
SomeRandomBloke | 0:b3e0f5bb3b87 | 70 | {0x41, 0x41, 0x7F, 0x00, 0x00, 0x00, 4} , // ] |
SomeRandomBloke | 0:b3e0f5bb3b87 | 71 | {0x04, 0x02, 0x01, 0x02, 0x04, 0x00, 6} , // ^ |
SomeRandomBloke | 0:b3e0f5bb3b87 | 72 | {0x40, 0x40, 0x40, 0x40, 0x40, 0x00, 6} , // _ |
SomeRandomBloke | 0:b3e0f5bb3b87 | 73 | {0x01, 0x02, 0x04, 0x00, 0x00, 0x00, 4} , // ' |
SomeRandomBloke | 0:b3e0f5bb3b87 | 74 | {0x20, 0x54, 0x54, 0x78, 0x00, 0x00, 5} , // a |
SomeRandomBloke | 0:b3e0f5bb3b87 | 75 | {0x7F, 0x44, 0x44, 0x38, 0x00, 0x00, 5} , // b |
SomeRandomBloke | 0:b3e0f5bb3b87 | 76 | {0x38, 0x44, 0x44, 0x44, 0x00, 0x00, 5} , // c |
SomeRandomBloke | 0:b3e0f5bb3b87 | 77 | {0x38, 0x44, 0x44, 0x7F, 0x00, 0x00, 5} , // d |
SomeRandomBloke | 0:b3e0f5bb3b87 | 78 | {0x38, 0x54, 0x54, 0x58, 0x00, 0x00, 5} , // e |
SomeRandomBloke | 0:b3e0f5bb3b87 | 79 | {0x04, 0x7E, 0x05, 0x01, 0x00, 0x00, 5} , // f |
SomeRandomBloke | 0:b3e0f5bb3b87 | 80 | {0x48, 0x54, 0x54, 0x3c, 0x00, 0x00, 5} , // g |
SomeRandomBloke | 0:b3e0f5bb3b87 | 81 | {0x7F, 0x08, 0x04, 0x78, 0x00, 0x00, 5} , // h |
SomeRandomBloke | 0:b3e0f5bb3b87 | 82 | {0x7D, 0x00, 0x00, 0x00, 0x00, 0x00, 2} , // i |
SomeRandomBloke | 0:b3e0f5bb3b87 | 83 | {0x20, 0x40, 0x3D, 0x00, 0x00, 0x00, 4} , // j |
SomeRandomBloke | 0:b3e0f5bb3b87 | 84 | {0x7F, 0x10, 0x28, 0x44, 0x00, 0x00, 5} , // k |
SomeRandomBloke | 0:b3e0f5bb3b87 | 85 | {0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 2} , // l |
SomeRandomBloke | 0:b3e0f5bb3b87 | 86 | {0x78, 0x04, 0x18, 0x04, 0x78, 0x00, 6} , // m |
SomeRandomBloke | 0:b3e0f5bb3b87 | 87 | {0x7c, 0x08, 0x04, 0x78, 0x00, 0x00, 5} , // n |
SomeRandomBloke | 0:b3e0f5bb3b87 | 88 | {0x38, 0x44, 0x44, 0x38, 0x00, 0x00, 5} , // o |
SomeRandomBloke | 0:b3e0f5bb3b87 | 89 | {0x7C, 0x14, 0x14, 0x08, 0x00, 0x00, 5} , // p |
SomeRandomBloke | 0:b3e0f5bb3b87 | 90 | {0x08, 0x14, 0x14, 0x7C, 0x00, 0x00, 5} , // q |
SomeRandomBloke | 0:b3e0f5bb3b87 | 91 | {0x7C, 0x08, 0x04, 0x04, 0x00, 0x00, 5} , // r |
SomeRandomBloke | 0:b3e0f5bb3b87 | 92 | {0x48, 0x54, 0x54, 0x24, 0x00, 0x00, 5} , // s |
SomeRandomBloke | 0:b3e0f5bb3b87 | 93 | {0x04, 0x7F, 0x44, 0x00, 0x00, 0x00, 4} , // t |
SomeRandomBloke | 0:b3e0f5bb3b87 | 94 | {0x3C, 0x40, 0x40, 0x3c, 0x00, 0x00, 5} , // u |
SomeRandomBloke | 0:b3e0f5bb3b87 | 95 | {0x0C, 0x30, 0x40, 0x30, 0x0c, 0x00, 6} , // v |
SomeRandomBloke | 0:b3e0f5bb3b87 | 96 | {0x3C, 0x40, 0x30, 0x40, 0x3C, 0x00, 6} , // w |
SomeRandomBloke | 0:b3e0f5bb3b87 | 97 | {0x44, 0x28, 0x10, 0x28, 0x44, 0x00, 6} , // x |
SomeRandomBloke | 0:b3e0f5bb3b87 | 98 | {0x0C, 0x50, 0x50, 0x3c, 0x00, 0x00, 5} , // y |
SomeRandomBloke | 0:b3e0f5bb3b87 | 99 | {0x44, 0x64, 0x54, 0x4C, 0x44, 0x00, 6} , // z |
SomeRandomBloke | 0:b3e0f5bb3b87 | 100 | {0x06, 0x09, 0x09, 0x06, 0x00, 0x00, 5} // degree |
SomeRandomBloke | 0:b3e0f5bb3b87 | 101 | }; |