LCD4884
Dependents: 15A-ClassProjectFinal_masterfull-pae-za-leng
Fork of LCD4884 by
font_6x8.h@0:28f3c9274ea7, 2013-03-09 (annotated)
- Committer:
- COX
- Date:
- Sat Mar 09 21:07:35 2013 +0000
- Revision:
- 0:28f3c9274ea7
draft...; first working version;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
COX | 0:28f3c9274ea7 | 1 | // 6 x 8 font |
COX | 0:28f3c9274ea7 | 2 | // 1 pixel space at left and bottom |
COX | 0:28f3c9274ea7 | 3 | // index = ASCII - 32 |
COX | 0:28f3c9274ea7 | 4 | |
COX | 0:28f3c9274ea7 | 5 | unsigned char font6_8[][6]= |
COX | 0:28f3c9274ea7 | 6 | { |
COX | 0:28f3c9274ea7 | 7 | { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // sp |
COX | 0:28f3c9274ea7 | 8 | { 0x00, 0x00, 0x00, 0x2f, 0x00, 0x00 }, // ! |
COX | 0:28f3c9274ea7 | 9 | { 0x00, 0x00, 0x07, 0x00, 0x07, 0x00 }, // " |
COX | 0:28f3c9274ea7 | 10 | { 0x00, 0x14, 0x7f, 0x14, 0x7f, 0x14 }, // # |
COX | 0:28f3c9274ea7 | 11 | { 0x00, 0x24, 0x2a, 0x7f, 0x2a, 0x12 }, // $ |
COX | 0:28f3c9274ea7 | 12 | { 0x00, 0x62, 0x64, 0x08, 0x13, 0x23 }, // % |
COX | 0:28f3c9274ea7 | 13 | { 0x00, 0x36, 0x49, 0x55, 0x22, 0x50 }, // & |
COX | 0:28f3c9274ea7 | 14 | { 0x00, 0x00, 0x05, 0x03, 0x00, 0x00 }, // ' |
COX | 0:28f3c9274ea7 | 15 | { 0x00, 0x00, 0x1c, 0x22, 0x41, 0x00 }, // ( |
COX | 0:28f3c9274ea7 | 16 | { 0x00, 0x00, 0x41, 0x22, 0x1c, 0x00 }, // ) |
COX | 0:28f3c9274ea7 | 17 | { 0x00, 0x14, 0x08, 0x3E, 0x08, 0x14 }, // * |
COX | 0:28f3c9274ea7 | 18 | { 0x00, 0x08, 0x08, 0x3E, 0x08, 0x08 }, // + |
COX | 0:28f3c9274ea7 | 19 | { 0x00, 0x00, 0x00, 0xA0, 0x60, 0x00 }, // , |
COX | 0:28f3c9274ea7 | 20 | { 0x00, 0x08, 0x08, 0x08, 0x08, 0x08 }, // - |
COX | 0:28f3c9274ea7 | 21 | { 0x00, 0x00, 0x60, 0x60, 0x00, 0x00 }, // . |
COX | 0:28f3c9274ea7 | 22 | { 0x00, 0x20, 0x10, 0x08, 0x04, 0x02 }, // / |
COX | 0:28f3c9274ea7 | 23 | { 0x00, 0x3E, 0x51, 0x49, 0x45, 0x3E }, // 0 |
COX | 0:28f3c9274ea7 | 24 | { 0x00, 0x00, 0x42, 0x7F, 0x40, 0x00 }, // 1 |
COX | 0:28f3c9274ea7 | 25 | { 0x00, 0x42, 0x61, 0x51, 0x49, 0x46 }, // 2 |
COX | 0:28f3c9274ea7 | 26 | { 0x00, 0x21, 0x41, 0x45, 0x4B, 0x31 }, // 3 |
COX | 0:28f3c9274ea7 | 27 | { 0x00, 0x18, 0x14, 0x12, 0x7F, 0x10 }, // 4 |
COX | 0:28f3c9274ea7 | 28 | { 0x00, 0x27, 0x45, 0x45, 0x45, 0x39 }, // 5 |
COX | 0:28f3c9274ea7 | 29 | { 0x00, 0x3C, 0x4A, 0x49, 0x49, 0x30 }, // 6 |
COX | 0:28f3c9274ea7 | 30 | { 0x00, 0x01, 0x71, 0x09, 0x05, 0x03 }, // 7 |
COX | 0:28f3c9274ea7 | 31 | { 0x00, 0x36, 0x49, 0x49, 0x49, 0x36 }, // 8 |
COX | 0:28f3c9274ea7 | 32 | { 0x00, 0x06, 0x49, 0x49, 0x29, 0x1E }, // 9 |
COX | 0:28f3c9274ea7 | 33 | { 0x00, 0x00, 0x36, 0x36, 0x00, 0x00 }, // : |
COX | 0:28f3c9274ea7 | 34 | { 0x00, 0x00, 0x56, 0x36, 0x00, 0x00 }, // ; |
COX | 0:28f3c9274ea7 | 35 | { 0x00, 0x08, 0x14, 0x22, 0x41, 0x00 }, // < |
COX | 0:28f3c9274ea7 | 36 | { 0x00, 0x14, 0x14, 0x14, 0x14, 0x14 }, // = |
COX | 0:28f3c9274ea7 | 37 | { 0x00, 0x00, 0x41, 0x22, 0x14, 0x08 }, // > |
COX | 0:28f3c9274ea7 | 38 | { 0x00, 0x02, 0x01, 0x51, 0x09, 0x06 }, // ? |
COX | 0:28f3c9274ea7 | 39 | { 0x00, 0x32, 0x49, 0x59, 0x51, 0x3E }, // @ |
COX | 0:28f3c9274ea7 | 40 | { 0x00, 0x7C, 0x12, 0x11, 0x12, 0x7C }, // A |
COX | 0:28f3c9274ea7 | 41 | { 0x00, 0x7F, 0x49, 0x49, 0x49, 0x36 }, // B |
COX | 0:28f3c9274ea7 | 42 | { 0x00, 0x3E, 0x41, 0x41, 0x41, 0x22 }, // C |
COX | 0:28f3c9274ea7 | 43 | { 0x00, 0x7F, 0x41, 0x41, 0x22, 0x1C }, // D |
COX | 0:28f3c9274ea7 | 44 | { 0x00, 0x7F, 0x49, 0x49, 0x49, 0x41 }, // E |
COX | 0:28f3c9274ea7 | 45 | { 0x00, 0x7F, 0x09, 0x09, 0x09, 0x01 }, // F |
COX | 0:28f3c9274ea7 | 46 | { 0x00, 0x3E, 0x41, 0x49, 0x49, 0x7A }, // G |
COX | 0:28f3c9274ea7 | 47 | { 0x00, 0x7F, 0x08, 0x08, 0x08, 0x7F }, // H |
COX | 0:28f3c9274ea7 | 48 | { 0x00, 0x00, 0x41, 0x7F, 0x41, 0x00 }, // I |
COX | 0:28f3c9274ea7 | 49 | { 0x00, 0x20, 0x40, 0x41, 0x3F, 0x01 }, // J |
COX | 0:28f3c9274ea7 | 50 | { 0x00, 0x7F, 0x08, 0x14, 0x22, 0x41 }, // K |
COX | 0:28f3c9274ea7 | 51 | { 0x00, 0x7F, 0x40, 0x40, 0x40, 0x40 }, // L |
COX | 0:28f3c9274ea7 | 52 | { 0x00, 0x7F, 0x02, 0x0C, 0x02, 0x7F }, // M |
COX | 0:28f3c9274ea7 | 53 | { 0x00, 0x7F, 0x04, 0x08, 0x10, 0x7F }, // N |
COX | 0:28f3c9274ea7 | 54 | { 0x00, 0x3E, 0x41, 0x41, 0x41, 0x3E }, // O |
COX | 0:28f3c9274ea7 | 55 | { 0x00, 0x7F, 0x09, 0x09, 0x09, 0x06 }, // P |
COX | 0:28f3c9274ea7 | 56 | { 0x00, 0x3E, 0x41, 0x51, 0x21, 0x5E }, // Q |
COX | 0:28f3c9274ea7 | 57 | { 0x00, 0x7F, 0x09, 0x19, 0x29, 0x46 }, // R |
COX | 0:28f3c9274ea7 | 58 | { 0x00, 0x46, 0x49, 0x49, 0x49, 0x31 }, // S |
COX | 0:28f3c9274ea7 | 59 | { 0x00, 0x01, 0x01, 0x7F, 0x01, 0x01 }, // T |
COX | 0:28f3c9274ea7 | 60 | { 0x00, 0x3F, 0x40, 0x40, 0x40, 0x3F }, // U |
COX | 0:28f3c9274ea7 | 61 | { 0x00, 0x1F, 0x20, 0x40, 0x20, 0x1F }, // V |
COX | 0:28f3c9274ea7 | 62 | { 0x00, 0x3F, 0x40, 0x38, 0x40, 0x3F }, // W |
COX | 0:28f3c9274ea7 | 63 | { 0x00, 0x63, 0x14, 0x08, 0x14, 0x63 }, // X |
COX | 0:28f3c9274ea7 | 64 | { 0x00, 0x07, 0x08, 0x70, 0x08, 0x07 }, // Y |
COX | 0:28f3c9274ea7 | 65 | { 0x00, 0x61, 0x51, 0x49, 0x45, 0x43 }, // Z |
COX | 0:28f3c9274ea7 | 66 | { 0x00, 0x00, 0x7F, 0x41, 0x41, 0x00 }, // [ |
COX | 0:28f3c9274ea7 | 67 | { 0x00, 0x55, 0x2A, 0x55, 0x2A, 0x55 }, // 55 |
COX | 0:28f3c9274ea7 | 68 | { 0x00, 0x00, 0x41, 0x41, 0x7F, 0x00 }, // ] |
COX | 0:28f3c9274ea7 | 69 | { 0x00, 0x04, 0x02, 0x01, 0x02, 0x04 }, // ^ |
COX | 0:28f3c9274ea7 | 70 | { 0x00, 0x40, 0x40, 0x40, 0x40, 0x40 }, // _ |
COX | 0:28f3c9274ea7 | 71 | { 0x00, 0x00, 0x01, 0x02, 0x04, 0x00 }, // ' |
COX | 0:28f3c9274ea7 | 72 | { 0x00, 0x20, 0x54, 0x54, 0x54, 0x78 }, // a |
COX | 0:28f3c9274ea7 | 73 | { 0x00, 0x7F, 0x48, 0x44, 0x44, 0x38 }, // b |
COX | 0:28f3c9274ea7 | 74 | { 0x00, 0x38, 0x44, 0x44, 0x44, 0x20 }, // c |
COX | 0:28f3c9274ea7 | 75 | { 0x00, 0x38, 0x44, 0x44, 0x48, 0x7F }, // d |
COX | 0:28f3c9274ea7 | 76 | { 0x00, 0x38, 0x54, 0x54, 0x54, 0x18 }, // e |
COX | 0:28f3c9274ea7 | 77 | { 0x00, 0x08, 0x7E, 0x09, 0x01, 0x02 }, // f |
COX | 0:28f3c9274ea7 | 78 | { 0x00, 0x18, 0xA4, 0xA4, 0xA4, 0x7C }, // g |
COX | 0:28f3c9274ea7 | 79 | { 0x00, 0x7F, 0x08, 0x04, 0x04, 0x78 }, // h |
COX | 0:28f3c9274ea7 | 80 | { 0x00, 0x00, 0x44, 0x7D, 0x40, 0x00 }, // i |
COX | 0:28f3c9274ea7 | 81 | { 0x00, 0x40, 0x80, 0x84, 0x7D, 0x00 }, // j |
COX | 0:28f3c9274ea7 | 82 | { 0x00, 0x7F, 0x10, 0x28, 0x44, 0x00 }, // k |
COX | 0:28f3c9274ea7 | 83 | { 0x00, 0x00, 0x41, 0x7F, 0x40, 0x00 }, // l |
COX | 0:28f3c9274ea7 | 84 | { 0x00, 0x7C, 0x04, 0x18, 0x04, 0x78 }, // m |
COX | 0:28f3c9274ea7 | 85 | { 0x00, 0x7C, 0x08, 0x04, 0x04, 0x78 }, // n |
COX | 0:28f3c9274ea7 | 86 | { 0x00, 0x38, 0x44, 0x44, 0x44, 0x38 }, // o |
COX | 0:28f3c9274ea7 | 87 | { 0x00, 0xFC, 0x24, 0x24, 0x24, 0x18 }, // p |
COX | 0:28f3c9274ea7 | 88 | { 0x00, 0x18, 0x24, 0x24, 0x18, 0xFC }, // q |
COX | 0:28f3c9274ea7 | 89 | { 0x00, 0x7C, 0x08, 0x04, 0x04, 0x08 }, // r |
COX | 0:28f3c9274ea7 | 90 | { 0x00, 0x48, 0x54, 0x54, 0x54, 0x20 }, // s |
COX | 0:28f3c9274ea7 | 91 | { 0x00, 0x04, 0x3F, 0x44, 0x40, 0x20 }, // t |
COX | 0:28f3c9274ea7 | 92 | { 0x00, 0x3C, 0x40, 0x40, 0x20, 0x7C }, // u |
COX | 0:28f3c9274ea7 | 93 | { 0x00, 0x1C, 0x20, 0x40, 0x20, 0x1C }, // v |
COX | 0:28f3c9274ea7 | 94 | { 0x00, 0x3C, 0x40, 0x30, 0x40, 0x3C }, // w |
COX | 0:28f3c9274ea7 | 95 | { 0x00, 0x44, 0x28, 0x10, 0x28, 0x44 }, // x |
COX | 0:28f3c9274ea7 | 96 | { 0x00, 0x1C, 0xA0, 0xA0, 0xA0, 0x7C }, // y |
COX | 0:28f3c9274ea7 | 97 | { 0x00, 0x44, 0x64, 0x54, 0x4C, 0x44 }, // z |
COX | 0:28f3c9274ea7 | 98 | { 0x00,0x00, 0x06, 0x09, 0x09, 0x06 } // horiz lines |
COX | 0:28f3c9274ea7 | 99 | }; |