Library for Nuelectronics Nokia 3310/5110 LCD Display and joystick.
Dependents: N3310LCD_Demo FRDM_N3110LCD
N3310Fonts.h@3:9808f63fd2fe, 2013-03-24 (annotated)
- Committer:
- SomeRandomBloke
- Date:
- Sun Mar 24 15:15:08 2013 +0000
- Revision:
- 3:9808f63fd2fe
- Parent:
- 1:51961974fe55
- Child:
- 4:90dce6032a37
updated for multiple fonts
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
SomeRandomBloke | 0:7efa6655d94b | 1 | /* |
SomeRandomBloke | 0:7efa6655d94b | 2 | * N3310LCD. A program to interface mbed with the nuelectronics |
SomeRandomBloke | 0:7efa6655d94b | 3 | * Nokia 3310 LCD shield from www.nuelectronics.com. Ported from |
SomeRandomBloke | 0:7efa6655d94b | 4 | * the nuelectronics Arduino code. |
SomeRandomBloke | 0:7efa6655d94b | 5 | * |
SomeRandomBloke | 0:7efa6655d94b | 6 | * Copyright (C) <2009> Petras Saduikis <petras@petras.co.uk> |
SomeRandomBloke | 0:7efa6655d94b | 7 | * |
SomeRandomBloke | 0:7efa6655d94b | 8 | * Converted to a mbed library by Andrew D. Lindsay |
SomeRandomBloke | 0:7efa6655d94b | 9 | * |
SomeRandomBloke | 0:7efa6655d94b | 10 | * This file is part of N3310LCD. |
SomeRandomBloke | 0:7efa6655d94b | 11 | * |
SomeRandomBloke | 0:7efa6655d94b | 12 | * N3310LCD is free software: you can redistribute it and/or modify |
SomeRandomBloke | 0:7efa6655d94b | 13 | * it under the terms of the GNU General Public License as published by |
SomeRandomBloke | 0:7efa6655d94b | 14 | * the Free Software Foundation, either version 3 of the License, or |
SomeRandomBloke | 0:7efa6655d94b | 15 | * (at your option) any later version. |
SomeRandomBloke | 1:51961974fe55 | 16 | * |
SomeRandomBloke | 0:7efa6655d94b | 17 | * N3310LCD is distributed in the hope that it will be useful, |
SomeRandomBloke | 0:7efa6655d94b | 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
SomeRandomBloke | 0:7efa6655d94b | 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
SomeRandomBloke | 0:7efa6655d94b | 20 | * GNU General Public License for more details. |
SomeRandomBloke | 0:7efa6655d94b | 21 | * |
SomeRandomBloke | 0:7efa6655d94b | 22 | * You should have received a copy of the GNU General Public License |
SomeRandomBloke | 0:7efa6655d94b | 23 | * along with N3310LCD. If not, see <http://www.gnu.org/licenses/>. |
SomeRandomBloke | 0:7efa6655d94b | 24 | */ |
SomeRandomBloke | 0:7efa6655d94b | 25 | |
SomeRandomBloke | 3:9808f63fd2fe | 26 | #ifndef N3310FONTS_H |
SomeRandomBloke | 3:9808f63fd2fe | 27 | #define N3310FONTS_H |
SomeRandomBloke | 0:7efa6655d94b | 28 | |
SomeRandomBloke | 0:7efa6655d94b | 29 | // 6 x 8 font |
SomeRandomBloke | 0:7efa6655d94b | 30 | // 1 pixel space at left and bottom |
SomeRandomBloke | 0:7efa6655d94b | 31 | // index = ASCII - 32 |
SomeRandomBloke | 0:7efa6655d94b | 32 | |
SomeRandomBloke | 3:9808f63fd2fe | 33 | unsigned char font6_8[] = { |
SomeRandomBloke | 3:9808f63fd2fe | 34 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // sp |
SomeRandomBloke | 3:9808f63fd2fe | 35 | 0x00, 0x00, 0x00, 0x2f, 0x00, 0x00 , // ! |
SomeRandomBloke | 3:9808f63fd2fe | 36 | 0x00, 0x00, 0x07, 0x00, 0x07, 0x00 , // " |
SomeRandomBloke | 3:9808f63fd2fe | 37 | 0x00, 0x14, 0x7f, 0x14, 0x7f, 0x14 , // # |
SomeRandomBloke | 3:9808f63fd2fe | 38 | 0x00, 0x24, 0x2a, 0x7f, 0x2a, 0x12 , // $ |
SomeRandomBloke | 3:9808f63fd2fe | 39 | 0x00, 0x62, 0x64, 0x08, 0x13, 0x23 , // % |
SomeRandomBloke | 3:9808f63fd2fe | 40 | 0x00, 0x36, 0x49, 0x55, 0x22, 0x50 , // & |
SomeRandomBloke | 3:9808f63fd2fe | 41 | 0x00, 0x00, 0x05, 0x03, 0x00, 0x00 , // ' |
SomeRandomBloke | 3:9808f63fd2fe | 42 | 0x00, 0x00, 0x1c, 0x22, 0x41, 0x00 , // ( |
SomeRandomBloke | 3:9808f63fd2fe | 43 | 0x00, 0x00, 0x41, 0x22, 0x1c, 0x00 , // ) |
SomeRandomBloke | 3:9808f63fd2fe | 44 | 0x00, 0x14, 0x08, 0x3E, 0x08, 0x14 , // * |
SomeRandomBloke | 3:9808f63fd2fe | 45 | 0x00, 0x08, 0x08, 0x3E, 0x08, 0x08 , // + |
SomeRandomBloke | 3:9808f63fd2fe | 46 | 0x00, 0x00, 0x00, 0xA0, 0x60, 0x00 , // , |
SomeRandomBloke | 3:9808f63fd2fe | 47 | 0x00, 0x08, 0x08, 0x08, 0x08, 0x08 , // - |
SomeRandomBloke | 3:9808f63fd2fe | 48 | 0x00, 0x00, 0x60, 0x60, 0x00, 0x00 , // . |
SomeRandomBloke | 3:9808f63fd2fe | 49 | 0x00, 0x20, 0x10, 0x08, 0x04, 0x02 , // / |
SomeRandomBloke | 3:9808f63fd2fe | 50 | 0x00, 0x3E, 0x51, 0x49, 0x45, 0x3E , // 0 |
SomeRandomBloke | 3:9808f63fd2fe | 51 | 0x00, 0x00, 0x42, 0x7F, 0x40, 0x00 , // 1 |
SomeRandomBloke | 3:9808f63fd2fe | 52 | 0x00, 0x42, 0x61, 0x51, 0x49, 0x46 , // 2 |
SomeRandomBloke | 3:9808f63fd2fe | 53 | 0x00, 0x21, 0x41, 0x45, 0x4B, 0x31 , // 3 |
SomeRandomBloke | 3:9808f63fd2fe | 54 | 0x00, 0x18, 0x14, 0x12, 0x7F, 0x10 , // 4 |
SomeRandomBloke | 3:9808f63fd2fe | 55 | 0x00, 0x27, 0x45, 0x45, 0x45, 0x39 , // 5 |
SomeRandomBloke | 3:9808f63fd2fe | 56 | 0x00, 0x3C, 0x4A, 0x49, 0x49, 0x30 , // 6 |
SomeRandomBloke | 3:9808f63fd2fe | 57 | 0x00, 0x01, 0x71, 0x09, 0x05, 0x03 , // 7 |
SomeRandomBloke | 3:9808f63fd2fe | 58 | 0x00, 0x36, 0x49, 0x49, 0x49, 0x36 , // 8 |
SomeRandomBloke | 3:9808f63fd2fe | 59 | 0x00, 0x06, 0x49, 0x49, 0x29, 0x1E , // 9 |
SomeRandomBloke | 3:9808f63fd2fe | 60 | 0x00, 0x00, 0x36, 0x36, 0x00, 0x00 , // : |
SomeRandomBloke | 3:9808f63fd2fe | 61 | 0x00, 0x00, 0x56, 0x36, 0x00, 0x00 , // ; |
SomeRandomBloke | 3:9808f63fd2fe | 62 | 0x00, 0x08, 0x14, 0x22, 0x41, 0x00 , // < |
SomeRandomBloke | 3:9808f63fd2fe | 63 | 0x00, 0x14, 0x14, 0x14, 0x14, 0x14 , // = |
SomeRandomBloke | 3:9808f63fd2fe | 64 | 0x00, 0x00, 0x41, 0x22, 0x14, 0x08 , // > |
SomeRandomBloke | 3:9808f63fd2fe | 65 | 0x00, 0x02, 0x01, 0x51, 0x09, 0x06 , // ? |
SomeRandomBloke | 3:9808f63fd2fe | 66 | 0x00, 0x32, 0x49, 0x59, 0x51, 0x3E , // @ |
SomeRandomBloke | 3:9808f63fd2fe | 67 | 0x00, 0x7C, 0x12, 0x11, 0x12, 0x7C , // A |
SomeRandomBloke | 3:9808f63fd2fe | 68 | 0x00, 0x7F, 0x49, 0x49, 0x49, 0x36 , // B |
SomeRandomBloke | 3:9808f63fd2fe | 69 | 0x00, 0x3E, 0x41, 0x41, 0x41, 0x22 , // C |
SomeRandomBloke | 3:9808f63fd2fe | 70 | 0x00, 0x7F, 0x41, 0x41, 0x22, 0x1C , // D |
SomeRandomBloke | 3:9808f63fd2fe | 71 | 0x00, 0x7F, 0x49, 0x49, 0x49, 0x41 , // E |
SomeRandomBloke | 3:9808f63fd2fe | 72 | 0x00, 0x7F, 0x09, 0x09, 0x09, 0x01 , // F |
SomeRandomBloke | 3:9808f63fd2fe | 73 | 0x00, 0x3E, 0x41, 0x49, 0x49, 0x7A , // G |
SomeRandomBloke | 3:9808f63fd2fe | 74 | 0x00, 0x7F, 0x08, 0x08, 0x08, 0x7F , // H |
SomeRandomBloke | 3:9808f63fd2fe | 75 | 0x00, 0x00, 0x41, 0x7F, 0x41, 0x00 , // I |
SomeRandomBloke | 3:9808f63fd2fe | 76 | 0x00, 0x20, 0x40, 0x41, 0x3F, 0x01 , // J |
SomeRandomBloke | 3:9808f63fd2fe | 77 | 0x00, 0x7F, 0x08, 0x14, 0x22, 0x41 , // K |
SomeRandomBloke | 3:9808f63fd2fe | 78 | 0x00, 0x7F, 0x40, 0x40, 0x40, 0x40 , // L |
SomeRandomBloke | 3:9808f63fd2fe | 79 | 0x00, 0x7F, 0x02, 0x0C, 0x02, 0x7F , // M |
SomeRandomBloke | 3:9808f63fd2fe | 80 | 0x00, 0x7F, 0x04, 0x08, 0x10, 0x7F , // N |
SomeRandomBloke | 3:9808f63fd2fe | 81 | 0x00, 0x3E, 0x41, 0x41, 0x41, 0x3E , // O |
SomeRandomBloke | 3:9808f63fd2fe | 82 | 0x00, 0x7F, 0x09, 0x09, 0x09, 0x06 , // P |
SomeRandomBloke | 3:9808f63fd2fe | 83 | 0x00, 0x3E, 0x41, 0x51, 0x21, 0x5E , // Q |
SomeRandomBloke | 3:9808f63fd2fe | 84 | 0x00, 0x7F, 0x09, 0x19, 0x29, 0x46 , // R |
SomeRandomBloke | 3:9808f63fd2fe | 85 | 0x00, 0x46, 0x49, 0x49, 0x49, 0x31 , // S |
SomeRandomBloke | 3:9808f63fd2fe | 86 | 0x00, 0x01, 0x01, 0x7F, 0x01, 0x01 , // T |
SomeRandomBloke | 3:9808f63fd2fe | 87 | 0x00, 0x3F, 0x40, 0x40, 0x40, 0x3F , // U |
SomeRandomBloke | 3:9808f63fd2fe | 88 | 0x00, 0x1F, 0x20, 0x40, 0x20, 0x1F , // V |
SomeRandomBloke | 3:9808f63fd2fe | 89 | 0x00, 0x3F, 0x40, 0x38, 0x40, 0x3F , // W |
SomeRandomBloke | 3:9808f63fd2fe | 90 | 0x00, 0x63, 0x14, 0x08, 0x14, 0x63 , // X |
SomeRandomBloke | 3:9808f63fd2fe | 91 | 0x00, 0x07, 0x08, 0x70, 0x08, 0x07 , // Y |
SomeRandomBloke | 3:9808f63fd2fe | 92 | 0x00, 0x61, 0x51, 0x49, 0x45, 0x43 , // Z |
SomeRandomBloke | 3:9808f63fd2fe | 93 | 0x00, 0x00, 0x7F, 0x41, 0x41, 0x00 , // [ |
SomeRandomBloke | 3:9808f63fd2fe | 94 | 0x00, 0x55, 0x2A, 0x55, 0x2A, 0x55 , // Checker pattern |
SomeRandomBloke | 3:9808f63fd2fe | 95 | 0x00, 0x00, 0x41, 0x41, 0x7F, 0x00 , // ] |
SomeRandomBloke | 3:9808f63fd2fe | 96 | 0x00, 0x04, 0x02, 0x01, 0x02, 0x04 , // ^ |
SomeRandomBloke | 3:9808f63fd2fe | 97 | 0x00, 0x40, 0x40, 0x40, 0x40, 0x40 , // _ |
SomeRandomBloke | 3:9808f63fd2fe | 98 | 0x00, 0x00, 0x01, 0x02, 0x04, 0x00 , // ' |
SomeRandomBloke | 3:9808f63fd2fe | 99 | 0x00, 0x20, 0x54, 0x54, 0x54, 0x78 , // a |
SomeRandomBloke | 3:9808f63fd2fe | 100 | 0x00, 0x7F, 0x48, 0x44, 0x44, 0x38 , // b |
SomeRandomBloke | 3:9808f63fd2fe | 101 | 0x00, 0x38, 0x44, 0x44, 0x44, 0x20 , // c |
SomeRandomBloke | 3:9808f63fd2fe | 102 | 0x00, 0x38, 0x44, 0x44, 0x48, 0x7F , // d |
SomeRandomBloke | 3:9808f63fd2fe | 103 | 0x00, 0x38, 0x54, 0x54, 0x54, 0x18 , // e |
SomeRandomBloke | 3:9808f63fd2fe | 104 | 0x00, 0x08, 0x7E, 0x09, 0x01, 0x02 , // f |
SomeRandomBloke | 3:9808f63fd2fe | 105 | 0x00, 0x18, 0xA4, 0xA4, 0xA4, 0x7C , // g |
SomeRandomBloke | 3:9808f63fd2fe | 106 | 0x00, 0x7F, 0x08, 0x04, 0x04, 0x78 , // h |
SomeRandomBloke | 3:9808f63fd2fe | 107 | 0x00, 0x00, 0x44, 0x7D, 0x40, 0x00 , // i |
SomeRandomBloke | 3:9808f63fd2fe | 108 | 0x00, 0x40, 0x80, 0x84, 0x7D, 0x00 , // j |
SomeRandomBloke | 3:9808f63fd2fe | 109 | 0x00, 0x7F, 0x10, 0x28, 0x44, 0x00 , // k |
SomeRandomBloke | 3:9808f63fd2fe | 110 | 0x00, 0x00, 0x41, 0x7F, 0x40, 0x00 , // l |
SomeRandomBloke | 3:9808f63fd2fe | 111 | 0x00, 0x7C, 0x04, 0x18, 0x04, 0x78 , // m |
SomeRandomBloke | 3:9808f63fd2fe | 112 | 0x00, 0x7C, 0x08, 0x04, 0x04, 0x78 , // n |
SomeRandomBloke | 3:9808f63fd2fe | 113 | 0x00, 0x38, 0x44, 0x44, 0x44, 0x38 , // o |
SomeRandomBloke | 3:9808f63fd2fe | 114 | 0x00, 0xFC, 0x24, 0x24, 0x24, 0x18 , // p |
SomeRandomBloke | 3:9808f63fd2fe | 115 | 0x00, 0x18, 0x24, 0x24, 0x18, 0xFC , // q |
SomeRandomBloke | 3:9808f63fd2fe | 116 | 0x00, 0x7C, 0x08, 0x04, 0x04, 0x08 , // r |
SomeRandomBloke | 3:9808f63fd2fe | 117 | 0x00, 0x48, 0x54, 0x54, 0x54, 0x20 , // s |
SomeRandomBloke | 3:9808f63fd2fe | 118 | 0x00, 0x04, 0x3F, 0x44, 0x40, 0x20 , // t |
SomeRandomBloke | 3:9808f63fd2fe | 119 | 0x00, 0x3C, 0x40, 0x40, 0x20, 0x7C , // u |
SomeRandomBloke | 3:9808f63fd2fe | 120 | 0x00, 0x1C, 0x20, 0x40, 0x20, 0x1C , // v |
SomeRandomBloke | 3:9808f63fd2fe | 121 | 0x00, 0x3C, 0x40, 0x30, 0x40, 0x3C , // w |
SomeRandomBloke | 3:9808f63fd2fe | 122 | 0x00, 0x44, 0x28, 0x10, 0x28, 0x44 , // x |
SomeRandomBloke | 3:9808f63fd2fe | 123 | 0x00, 0x1C, 0xA0, 0xA0, 0xA0, 0x7C , // y |
SomeRandomBloke | 3:9808f63fd2fe | 124 | 0x00, 0x44, 0x64, 0x54, 0x4C, 0x44 , // z |
SomeRandomBloke | 3:9808f63fd2fe | 125 | 0x00,0x00, 0x06, 0x09, 0x09, 0x06 // horiz lines |
SomeRandomBloke | 0:7efa6655d94b | 126 | }; |
SomeRandomBloke | 0:7efa6655d94b | 127 | |
SomeRandomBloke | 3:9808f63fd2fe | 128 | // Font definition for LCD 3110 library |
SomeRandomBloke | 3:9808f63fd2fe | 129 | // 5 x 7 font |
SomeRandomBloke | 3:9808f63fd2fe | 130 | // 1 pixel space at left and bottom |
SomeRandomBloke | 3:9808f63fd2fe | 131 | // index = ASCII - 32 |
SomeRandomBloke | 3:9808f63fd2fe | 132 | |
SomeRandomBloke | 3:9808f63fd2fe | 133 | //***** Small fonts (5x7) ********** |
SomeRandomBloke | 3:9808f63fd2fe | 134 | |
SomeRandomBloke | 3:9808f63fd2fe | 135 | // This does not strictly follow ASCII table |
SomeRandomBloke | 3:9808f63fd2fe | 136 | // |
SomeRandomBloke | 3:9808f63fd2fe | 137 | unsigned char font5_7[] = |
SomeRandomBloke | 3:9808f63fd2fe | 138 | { |
SomeRandomBloke | 3:9808f63fd2fe | 139 | 0x00, 0x00, 0x00, 0x00, 0x00 , // sp |
SomeRandomBloke | 3:9808f63fd2fe | 140 | 0x00, 0x00, 0x2f, 0x00, 0x00 , // ! |
SomeRandomBloke | 3:9808f63fd2fe | 141 | 0x00, 0x07, 0x00, 0x07, 0x00 , // " |
SomeRandomBloke | 3:9808f63fd2fe | 142 | 0x14, 0x7f, 0x14, 0x7f, 0x14 , // # |
SomeRandomBloke | 3:9808f63fd2fe | 143 | 0x24, 0x2a, 0x7f, 0x2a, 0x12 , // $ |
SomeRandomBloke | 3:9808f63fd2fe | 144 | 0x61, 0x66, 0x08, 0x33, 0x43 , // % |
SomeRandomBloke | 3:9808f63fd2fe | 145 | 0x36, 0x49, 0x55, 0x22, 0x50 , // & |
SomeRandomBloke | 3:9808f63fd2fe | 146 | 0x00, 0x05, 0x03, 0x00, 0x00 , // ' |
SomeRandomBloke | 3:9808f63fd2fe | 147 | 0x00, 0x1c, 0x22, 0x41, 0x00 , // ( |
SomeRandomBloke | 3:9808f63fd2fe | 148 | 0x00, 0x41, 0x22, 0x1c, 0x00 , // ) |
SomeRandomBloke | 3:9808f63fd2fe | 149 | 0x14, 0x08, 0x3E, 0x08, 0x14 , // * |
SomeRandomBloke | 3:9808f63fd2fe | 150 | 0x08, 0x08, 0x3E, 0x08, 0x08 , // + |
SomeRandomBloke | 3:9808f63fd2fe | 151 | 0x00, 0x00, 0x50, 0x30, 0x00 , // , |
SomeRandomBloke | 3:9808f63fd2fe | 152 | 0x10, 0x10, 0x10, 0x10, 0x10 , // - |
SomeRandomBloke | 3:9808f63fd2fe | 153 | 0x00, 0x60, 0x60, 0x00, 0x00 , // . |
SomeRandomBloke | 3:9808f63fd2fe | 154 | 0x20, 0x10, 0x08, 0x04, 0x02 , // / |
SomeRandomBloke | 3:9808f63fd2fe | 155 | 0x3E, 0x51, 0x49, 0x45, 0x3E , // 0 |
SomeRandomBloke | 3:9808f63fd2fe | 156 | 0x00, 0x42, 0x7F, 0x40, 0x00 , // 1 |
SomeRandomBloke | 3:9808f63fd2fe | 157 | 0x42, 0x61, 0x51, 0x49, 0x46 , // 2 |
SomeRandomBloke | 3:9808f63fd2fe | 158 | 0x21, 0x41, 0x45, 0x4B, 0x31 , // 3 |
SomeRandomBloke | 3:9808f63fd2fe | 159 | 0x18, 0x14, 0x12, 0x7F, 0x10 , // 4 |
SomeRandomBloke | 3:9808f63fd2fe | 160 | 0x27, 0x45, 0x45, 0x45, 0x39 , // 5 |
SomeRandomBloke | 3:9808f63fd2fe | 161 | 0x3C, 0x4A, 0x49, 0x49, 0x30 , // 6 |
SomeRandomBloke | 3:9808f63fd2fe | 162 | 0x01, 0x71, 0x09, 0x05, 0x03 , // 7 |
SomeRandomBloke | 3:9808f63fd2fe | 163 | 0x36, 0x49, 0x49, 0x49, 0x36 , // 8 |
SomeRandomBloke | 3:9808f63fd2fe | 164 | 0x06, 0x49, 0x49, 0x29, 0x1E , // 9 |
SomeRandomBloke | 3:9808f63fd2fe | 165 | 0x00, 0x36, 0x36, 0x00, 0x00 , // : |
SomeRandomBloke | 3:9808f63fd2fe | 166 | 0x00, 0x56, 0x36, 0x00, 0x00 , // ; |
SomeRandomBloke | 3:9808f63fd2fe | 167 | 0x08, 0x14, 0x22, 0x41, 0x00 , // < |
SomeRandomBloke | 3:9808f63fd2fe | 168 | 0x14, 0x14, 0x14, 0x14, 0x14 , // = |
SomeRandomBloke | 3:9808f63fd2fe | 169 | 0x00, 0x41, 0x22, 0x14, 0x08 , // > |
SomeRandomBloke | 3:9808f63fd2fe | 170 | 0x02, 0x01, 0x51, 0x09, 0x06 , // ? |
SomeRandomBloke | 3:9808f63fd2fe | 171 | 0x32, 0x49, 0x59, 0x51, 0x3E , // @ |
SomeRandomBloke | 3:9808f63fd2fe | 172 | 0x7E, 0x11, 0x11, 0x11, 0x7E , // A |
SomeRandomBloke | 3:9808f63fd2fe | 173 | 0x7F, 0x49, 0x49, 0x49, 0x36 , // B |
SomeRandomBloke | 3:9808f63fd2fe | 174 | 0x3E, 0x41, 0x41, 0x41, 0x22 , // C |
SomeRandomBloke | 3:9808f63fd2fe | 175 | 0x7F, 0x41, 0x41, 0x22, 0x1C , // D |
SomeRandomBloke | 3:9808f63fd2fe | 176 | 0x7F, 0x49, 0x49, 0x49, 0x41 , // E |
SomeRandomBloke | 3:9808f63fd2fe | 177 | 0x7F, 0x09, 0x09, 0x09, 0x01 , // F |
SomeRandomBloke | 3:9808f63fd2fe | 178 | 0x3E, 0x41, 0x49, 0x49, 0x7A , // G |
SomeRandomBloke | 3:9808f63fd2fe | 179 | 0x7F, 0x08, 0x08, 0x08, 0x7F , // H |
SomeRandomBloke | 3:9808f63fd2fe | 180 | 0x00, 0x41, 0x7F, 0x41, 0x00 , // I |
SomeRandomBloke | 3:9808f63fd2fe | 181 | 0x20, 0x40, 0x41, 0x3F, 0x01 , // J |
SomeRandomBloke | 3:9808f63fd2fe | 182 | 0x7F, 0x08, 0x14, 0x22, 0x41 , // K |
SomeRandomBloke | 3:9808f63fd2fe | 183 | 0x7F, 0x40, 0x40, 0x40, 0x40 , // L |
SomeRandomBloke | 3:9808f63fd2fe | 184 | 0x7F, 0x02, 0x0C, 0x02, 0x7F , // M |
SomeRandomBloke | 3:9808f63fd2fe | 185 | 0x7F, 0x04, 0x08, 0x10, 0x7F , // N |
SomeRandomBloke | 3:9808f63fd2fe | 186 | 0x3E, 0x41, 0x41, 0x41, 0x3E , // O |
SomeRandomBloke | 3:9808f63fd2fe | 187 | 0x7F, 0x09, 0x09, 0x09, 0x06 , // P |
SomeRandomBloke | 3:9808f63fd2fe | 188 | 0x3E, 0x41, 0x51, 0x21, 0x5E , // Q |
SomeRandomBloke | 3:9808f63fd2fe | 189 | 0x7F, 0x09, 0x19, 0x29, 0x46 , // R |
SomeRandomBloke | 3:9808f63fd2fe | 190 | 0x46, 0x49, 0x49, 0x49, 0x31 , // S |
SomeRandomBloke | 3:9808f63fd2fe | 191 | 0x01, 0x01, 0x7F, 0x01, 0x01 , // T |
SomeRandomBloke | 3:9808f63fd2fe | 192 | 0x3F, 0x40, 0x40, 0x40, 0x3F , // U |
SomeRandomBloke | 3:9808f63fd2fe | 193 | 0x1F, 0x20, 0x40, 0x20, 0x1F , // V |
SomeRandomBloke | 3:9808f63fd2fe | 194 | 0x3F, 0x40, 0x38, 0x40, 0x3F , // W |
SomeRandomBloke | 3:9808f63fd2fe | 195 | 0x63, 0x14, 0x08, 0x14, 0x63 , // X |
SomeRandomBloke | 3:9808f63fd2fe | 196 | 0x07, 0x08, 0x70, 0x08, 0x07 , // Y |
SomeRandomBloke | 3:9808f63fd2fe | 197 | 0x61, 0x51, 0x49, 0x45, 0x43 , // Z |
SomeRandomBloke | 3:9808f63fd2fe | 198 | 0x00, 0x7F, 0x41, 0x41, 0x00 , // [ |
SomeRandomBloke | 3:9808f63fd2fe | 199 | 0x55, 0x2A, 0x55, 0x2A, 0x55 , // checker pattern |
SomeRandomBloke | 3:9808f63fd2fe | 200 | 0x00, 0x41, 0x41, 0x7F, 0x00 , // ] |
SomeRandomBloke | 3:9808f63fd2fe | 201 | 0x04, 0x02, 0x01, 0x02, 0x04 , // ^ |
SomeRandomBloke | 3:9808f63fd2fe | 202 | 0x40, 0x40, 0x40, 0x40, 0x40 , // _ |
SomeRandomBloke | 3:9808f63fd2fe | 203 | 0x00, 0x01, 0x02, 0x04, 0x00 , // ' |
SomeRandomBloke | 3:9808f63fd2fe | 204 | 0x20, 0x54, 0x54, 0x54, 0x78 , // a |
SomeRandomBloke | 3:9808f63fd2fe | 205 | 0x7F, 0x48, 0x44, 0x44, 0x38 , // b |
SomeRandomBloke | 3:9808f63fd2fe | 206 | 0x38, 0x44, 0x44, 0x44, 0x20 , // c |
SomeRandomBloke | 3:9808f63fd2fe | 207 | 0x38, 0x44, 0x44, 0x48, 0x7F , // d |
SomeRandomBloke | 3:9808f63fd2fe | 208 | 0x38, 0x54, 0x54, 0x54, 0x18 , // e |
SomeRandomBloke | 3:9808f63fd2fe | 209 | 0x08, 0x7E, 0x09, 0x01, 0x02 , // f |
SomeRandomBloke | 3:9808f63fd2fe | 210 | 0x0C, 0x52, 0x52, 0x52, 0x3E , // g |
SomeRandomBloke | 3:9808f63fd2fe | 211 | 0x7F, 0x08, 0x04, 0x04, 0x78 , // h |
SomeRandomBloke | 3:9808f63fd2fe | 212 | 0x00, 0x44, 0x7D, 0x40, 0x00 , // i |
SomeRandomBloke | 3:9808f63fd2fe | 213 | 0x20, 0x40, 0x44, 0x3D, 0x00 , // j |
SomeRandomBloke | 3:9808f63fd2fe | 214 | 0x7F, 0x10, 0x28, 0x44, 0x00 , // k |
SomeRandomBloke | 3:9808f63fd2fe | 215 | 0x00, 0x41, 0x7F, 0x40, 0x00 , // l |
SomeRandomBloke | 3:9808f63fd2fe | 216 | 0x7C, 0x04, 0x18, 0x04, 0x78 , // m |
SomeRandomBloke | 3:9808f63fd2fe | 217 | 0x7C, 0x08, 0x04, 0x04, 0x78 , // n |
SomeRandomBloke | 3:9808f63fd2fe | 218 | 0x38, 0x44, 0x44, 0x44, 0x38 , // o |
SomeRandomBloke | 3:9808f63fd2fe | 219 | 0x7C, 0x14, 0x14, 0x14, 0x08 , // p |
SomeRandomBloke | 3:9808f63fd2fe | 220 | 0x08, 0x14, 0x14, 0x18, 0x7C , // q |
SomeRandomBloke | 3:9808f63fd2fe | 221 | 0x7C, 0x08, 0x04, 0x04, 0x08 , // r |
SomeRandomBloke | 3:9808f63fd2fe | 222 | 0x48, 0x54, 0x54, 0x54, 0x20 , // s |
SomeRandomBloke | 3:9808f63fd2fe | 223 | 0x04, 0x3F, 0x44, 0x40, 0x20 , // t |
SomeRandomBloke | 3:9808f63fd2fe | 224 | 0x3C, 0x40, 0x40, 0x20, 0x7C , // u |
SomeRandomBloke | 3:9808f63fd2fe | 225 | 0x1C, 0x20, 0x40, 0x20, 0x1C , // v |
SomeRandomBloke | 3:9808f63fd2fe | 226 | 0x3C, 0x40, 0x30, 0x40, 0x3C , // w |
SomeRandomBloke | 3:9808f63fd2fe | 227 | 0x44, 0x28, 0x10, 0x28, 0x44 , // x |
SomeRandomBloke | 3:9808f63fd2fe | 228 | 0x0C, 0x50, 0x50, 0x50, 0x3C , // y |
SomeRandomBloke | 3:9808f63fd2fe | 229 | 0x44, 0x64, 0x54, 0x4C, 0x44 , // z |
SomeRandomBloke | 3:9808f63fd2fe | 230 | 0x00, 0x06, 0x09, 0x09, 0x06 // Degree symbol |
SomeRandomBloke | 3:9808f63fd2fe | 231 | }; |
SomeRandomBloke | 0:7efa6655d94b | 232 | |
SomeRandomBloke | 1:51961974fe55 | 233 | //******* VERY LARGE FONTS ********** |
SomeRandomBloke | 3:9808f63fd2fe | 234 | //used here for displaying numbers 0 - 9 and '+', '-', '.', ':', '/' |
SomeRandomBloke | 3:9808f63fd2fe | 235 | // built up on a 16 by 24 matrix but chars are only 12 by 24. |
SomeRandomBloke | 3:9808f63fd2fe | 236 | |
SomeRandomBloke | 3:9808f63fd2fe | 237 | unsigned char big_number[15][3][16] = { |
SomeRandomBloke | 0:7efa6655d94b | 238 | |
SomeRandomBloke | 3:9808f63fd2fe | 239 | {{0x00,0x00,0xc0,0xe0,0x70,0x30,0x30,0x30,0x70,0xe0,0xc0,0x00,0x00,0x00,0x00,0x00}, // '0' |
SomeRandomBloke | 3:9808f63fd2fe | 240 | {0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00}, |
SomeRandomBloke | 3:9808f63fd2fe | 241 | {0x00,0x07,0x1f,0x38,0x70,0x60,0x60,0x60,0x70,0x38,0x1f,0x07,0x00,0x00,0x00,0x00}}, |
SomeRandomBloke | 0:7efa6655d94b | 242 | |
SomeRandomBloke | 3:9808f63fd2fe | 243 | {{0x00,0x00,0x00,0xc0,0xc0,0xc0,0xf0,0xf0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // '1' |
SomeRandomBloke | 3:9808f63fd2fe | 244 | {0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, |
SomeRandomBloke | 3:9808f63fd2fe | 245 | {0x00,0x00,0x00,0x60,0x60,0x60,0x7f,0x7f,0x60,0x60,0x60,0x00,0x00,0x00,0x00,0x00}}, |
SomeRandomBloke | 0:7efa6655d94b | 246 | |
SomeRandomBloke | 3:9808f63fd2fe | 247 | {{0x00,0xe0,0x60,0x70,0x30,0x30,0x30,0x30,0x60,0xe0,0x80,0x00,0x00,0x00,0x00,0x00}, // '2' |
SomeRandomBloke | 3:9808f63fd2fe | 248 | {0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xc0,0xf0,0x3f,0x1f,0x00,0x00,0x00,0x00,0x00}, |
SomeRandomBloke | 3:9808f63fd2fe | 249 | {0x00,0x70,0x78,0x7c,0x6e,0x67,0x63,0x61,0x60,0x60,0x60,0x60,0x00,0x00,0x00,0x00}}, |
SomeRandomBloke | 0:7efa6655d94b | 250 | |
SomeRandomBloke | 3:9808f63fd2fe | 251 | {{0x00,0xe0,0x60,0x70,0x30,0x30,0x30,0x30,0x30,0x60,0xe0,0xc0,0x00,0x00,0x00,0x00}, // '3' |
SomeRandomBloke | 3:9808f63fd2fe | 252 | {0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x3c,0x7c,0xe7,0xc3,0x00,0x00,0x00,0x00}, |
SomeRandomBloke | 3:9808f63fd2fe | 253 | {0x00,0x38,0x30,0x70,0x60,0x60,0x60,0x60,0x70,0x38,0x1f,0x0f,0x00,0x00,0x00,0x00}}, |
SomeRandomBloke | 3:9808f63fd2fe | 254 | |
SomeRandomBloke | 3:9808f63fd2fe | 255 | {{0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xc0,0x60,0xf0,0xf0,0x00,0x00,0x00,0x00,0x00}, // '4' |
SomeRandomBloke | 3:9808f63fd2fe | 256 | {0x00,0xe0,0xf0,0xdc,0xce,0xc7,0xc1,0xc0,0xc0,0xff,0xff,0x00,0x00,0x00,0x00,0x00}, |
SomeRandomBloke | 3:9808f63fd2fe | 257 | {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7f,0x7f,0x00,0x00,0x00,0x00,0x00}}, |
SomeRandomBloke | 0:7efa6655d94b | 258 | |
SomeRandomBloke | 3:9808f63fd2fe | 259 | {{0x00,0x00,0xf0,0xf0,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x00,0x00,0x00,0x00,0x00}, // '5' |
SomeRandomBloke | 3:9808f63fd2fe | 260 | {0x00,0x00,0x1f,0x1f,0x18,0x18,0x18,0x18,0x30,0xf0,0xc0,0x00,0x00,0x00,0x00,0x00}, |
SomeRandomBloke | 3:9808f63fd2fe | 261 | {0x00,0x30,0x70,0x60,0x60,0x60,0x60,0x70,0x38,0x1f,0x0f,0x00,0x00,0x00,0x00,0x00}}, |
SomeRandomBloke | 0:7efa6655d94b | 262 | |
SomeRandomBloke | 3:9808f63fd2fe | 263 | {{0x00,0x00,0x80,0xc0,0xe0,0x60,0x30,0x30,0x30,0x30,0x30,0x00,0x00,0x00,0x00,0x00}, // '6' |
SomeRandomBloke | 3:9808f63fd2fe | 264 | {0x00,0xfc,0xff,0x33,0x18,0x18,0x18,0x18,0x18,0x30,0xf0,0xc0,0x00,0x00,0x00,0x00}, |
SomeRandomBloke | 3:9808f63fd2fe | 265 | {0x00,0x07,0x1f,0x38,0x70,0x60,0x60,0x60,0x60,0x30,0x1f,0x0f,0x00,0x00,0x00,0x00}}, |
SomeRandomBloke | 3:9808f63fd2fe | 266 | |
SomeRandomBloke | 3:9808f63fd2fe | 267 | {{0x00,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0xb0,0xf0,0xf0,0x00,0x00,0x00,0x00,0x00}, // '7' |
SomeRandomBloke | 3:9808f63fd2fe | 268 | {0x00,0x00,0x00,0x00,0xc0,0xf0,0x78,0x1e,0x07,0x01,0x00,0x00,0x00,0x00,0x00,0x00}, |
SomeRandomBloke | 3:9808f63fd2fe | 269 | {0x00,0x60,0x78,0x3e,0x0f,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}, |
SomeRandomBloke | 0:7efa6655d94b | 270 | |
SomeRandomBloke | 3:9808f63fd2fe | 271 | {{0x00,0x80,0xe0,0x60,0x30,0x30,0x30,0x30,0x30,0x60,0xe0,0xc0,0x00,0x00,0x00,0x00}, // '8' |
SomeRandomBloke | 3:9808f63fd2fe | 272 | {0x00,0x87,0xe7,0x6c,0x18,0x18,0x30,0x30,0x38,0x6c,0xc7,0x83,0x00,0x00,0x00,0x00}, |
SomeRandomBloke | 3:9808f63fd2fe | 273 | {0x00,0x0f,0x3f,0x38,0x70,0x60,0x60,0x60,0x60,0x30,0x1f,0x0f,0x00,0x00,0x00,0x00}}, |
SomeRandomBloke | 0:7efa6655d94b | 274 | |
SomeRandomBloke | 3:9808f63fd2fe | 275 | {{0x00,0x80,0xc0,0x60,0x30,0x30,0x30,0x30,0x70,0xe0,0xc0,0x00,0x00,0x00,0x00,0x00}, // '9' |
SomeRandomBloke | 3:9808f63fd2fe | 276 | {0x00,0x0f,0x3f,0x30,0x60,0x60,0x60,0x60,0x60,0x30,0xff,0xff,0x00,0x00,0x00,0x00}, |
SomeRandomBloke | 3:9808f63fd2fe | 277 | {0x00,0x00,0x00,0x60,0x60,0x60,0x60,0x70,0x38,0x1e,0x0f,0x03,0x00,0x00,0x00,0x00}}, |
SomeRandomBloke | 0:7efa6655d94b | 278 | |
SomeRandomBloke | 3:9808f63fd2fe | 279 | {{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, // '.' |
SomeRandomBloke | 3:9808f63fd2fe | 280 | {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
SomeRandomBloke | 3:9808f63fd2fe | 281 | {0,0x38,0x38,0x38,0,0,0,0,0,0,0,0,0,0,0,0}}, |
SomeRandomBloke | 0:7efa6655d94b | 282 | |
SomeRandomBloke | 3:9808f63fd2fe | 283 | {{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, // '+' |
SomeRandomBloke | 3:9808f63fd2fe | 284 | {0,0x40,0x40,0x40,0xF8,0x40,0x40,0x40,0,0,0,0,0,0,0}, |
SomeRandomBloke | 3:9808f63fd2fe | 285 | {0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0}}, |
SomeRandomBloke | 0:7efa6655d94b | 286 | |
SomeRandomBloke | 3:9808f63fd2fe | 287 | {{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, // '-' |
SomeRandomBloke | 3:9808f63fd2fe | 288 | {0,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0,0,0,0,0,0,0,0}, |
SomeRandomBloke | 3:9808f63fd2fe | 289 | {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}}, |
SomeRandomBloke | 0:7efa6655d94b | 290 | |
SomeRandomBloke | 3:9808f63fd2fe | 291 | {{0,0xE0,0xE0,0xE0,0,0,0,0,0,0,0,0,0,0,0,0}, // ':' |
SomeRandomBloke | 3:9808f63fd2fe | 292 | {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
SomeRandomBloke | 3:9808f63fd2fe | 293 | {0,0xE,0xE,0xE,0,0,0,0,0,0,0,0,0,0,0,0}}, |
SomeRandomBloke | 0:7efa6655d94b | 294 | |
SomeRandomBloke | 3:9808f63fd2fe | 295 | {{0,0,0,0xF0,0,0,0,0,0,0,0,0,0,0,0,0}, // '/' |
SomeRandomBloke | 3:9808f63fd2fe | 296 | {0,0,0xF8,0x7,0,0,0,0,0,0,0,0,0,0,0,0}, |
SomeRandomBloke | 3:9808f63fd2fe | 297 | {0,0xFC,0x3,0,0,0,0,0,0,0,0,0,0,0,0,0}} |
SomeRandomBloke | 0:7efa6655d94b | 298 | }; |
SomeRandomBloke | 0:7efa6655d94b | 299 | |
SomeRandomBloke | 0:7efa6655d94b | 300 | #endif |