Boyu Fang
/
Ovation_Controller
TFT
Fork of Ovation_Controller_1 by
Calibri14.cpp@1:ecf8078bf531, 2011-04-04 (annotated)
- Committer:
- andrewcrussell
- Date:
- Mon Apr 04 05:32:25 2011 +0000
- Revision:
- 1:ecf8078bf531
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewcrussell | 1:ecf8078bf531 | 1 | /******************************************************************************************* |
andrewcrussell | 1:ecf8078bf531 | 2 | Font name: Calibri |
andrewcrussell | 1:ecf8078bf531 | 3 | Font width: varialbe (proportional font) |
andrewcrussell | 1:ecf8078bf531 | 4 | Font height: 23 |
andrewcrussell | 1:ecf8078bf531 | 5 | Data length: 8 bits |
andrewcrussell | 1:ecf8078bf531 | 6 | Data format: Big Endian, Column based, Column preferred, Unpacked |
andrewcrussell | 1:ecf8078bf531 | 7 | |
andrewcrussell | 1:ecf8078bf531 | 8 | Create time: 23:00 03-22-2011 by BitFontCreator (e-mail: support@iseatech.com) |
andrewcrussell | 1:ecf8078bf531 | 9 | *******************************************************************************************/ |
andrewcrussell | 1:ecf8078bf531 | 10 | |
andrewcrussell | 1:ecf8078bf531 | 11 | /******************************************************************************************* |
andrewcrussell | 1:ecf8078bf531 | 12 | Data table provides the bitmap data of each character. |
andrewcrussell | 1:ecf8078bf531 | 13 | |
andrewcrussell | 1:ecf8078bf531 | 14 | To get the starting data offset of character 'A', you can use the following expression: |
andrewcrussell | 1:ecf8078bf531 | 15 | |
andrewcrussell | 1:ecf8078bf531 | 16 | const unsigned char index = index_table['A']; |
andrewcrussell | 1:ecf8078bf531 | 17 | const unsigned int offset = offset_table[index]; |
andrewcrussell | 1:ecf8078bf531 | 18 | const unsigned char *pData = data_table[offset]; |
andrewcrussell | 1:ecf8078bf531 | 19 | |
andrewcrussell | 1:ecf8078bf531 | 20 | *******************************************************************************************/ |
andrewcrussell | 1:ecf8078bf531 | 21 | #include "font_new.h" |
andrewcrussell | 1:ecf8078bf531 | 22 | const unsigned char c14_data_table[] = { |
andrewcrussell | 1:ecf8078bf531 | 23 | |
andrewcrussell | 1:ecf8078bf531 | 24 | /* character 0x2B ('+'): (width=9, offset=0) */ |
andrewcrussell | 1:ecf8078bf531 | 25 | 0x00, 0x0C, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x0C, |
andrewcrussell | 1:ecf8078bf531 | 26 | 0x00, 0x00, 0x7F, 0x80, 0x00, 0x7F, 0x80, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 27 | 0x0C, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x0C, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 28 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 29 | |
andrewcrussell | 1:ecf8078bf531 | 30 | /* character 0x2C (','): (width=5, offset=27) */ |
andrewcrussell | 1:ecf8078bf531 | 31 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 32 | 0xF8, 0x00, 0x00, 0xE0, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 33 | |
andrewcrussell | 1:ecf8078bf531 | 34 | /* character 0x2D ('-'): (width=6, offset=42) */ |
andrewcrussell | 1:ecf8078bf531 | 35 | 0x00, 0x00, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x0C, |
andrewcrussell | 1:ecf8078bf531 | 36 | 0x00, 0x00, 0x0C, 0x00, 0x00, 0x0C, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 37 | 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 38 | |
andrewcrussell | 1:ecf8078bf531 | 39 | /* character 0x2E ('.'): (width=5, offset=60) */ |
andrewcrussell | 1:ecf8078bf531 | 40 | 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 41 | 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 42 | |
andrewcrussell | 1:ecf8078bf531 | 43 | /* character 0x2F ('/'): (width=8, offset=75) */ |
andrewcrussell | 1:ecf8078bf531 | 44 | 0x00, 0x00, 0x18, 0x00, 0x00, 0xF8, 0x00, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 45 | 0xE0, 0x00, 0x1F, 0x00, 0x00, 0x7C, 0x00, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 46 | 0xE0, 0x00, 0x0F, 0x80, 0x00, 0x0C, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 47 | |
andrewcrussell | 1:ecf8078bf531 | 48 | /* character 0x30 ('0'): (width=10, offset=99) */ |
andrewcrussell | 1:ecf8078bf531 | 49 | 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x01, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 50 | 0x80, 0x03, 0x81, 0xC0, 0x03, 0x00, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 51 | 0x00, 0xC0, 0x03, 0x81, 0xC0, 0x01, 0xFF, 0x80, |
andrewcrussell | 1:ecf8078bf531 | 52 | 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 53 | |
andrewcrussell | 1:ecf8078bf531 | 54 | /* character 0x31 ('1'): (width=10, offset=129) */ |
andrewcrussell | 1:ecf8078bf531 | 55 | 0x00, 0x00, 0x00, 0x00, 0xC0, 0xC0, 0x01, 0x80, |
andrewcrussell | 1:ecf8078bf531 | 56 | 0xC0, 0x01, 0x80, 0xC0, 0x03, 0xFF, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 57 | 0xFF, 0xC0, 0x00, 0x00, 0xC0, 0x00, 0x00, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 58 | 0x00, 0x00, 0xC0, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 59 | |
andrewcrussell | 1:ecf8078bf531 | 60 | /* character 0x32 ('2'): (width=10, offset=159) */ |
andrewcrussell | 1:ecf8078bf531 | 61 | 0x00, 0x00, 0x00, 0x01, 0x80, 0xC0, 0x03, 0x01, |
andrewcrussell | 1:ecf8078bf531 | 62 | 0xC0, 0x03, 0x03, 0xC0, 0x03, 0x06, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 63 | 0x1C, 0xC0, 0x03, 0xF8, 0xC0, 0x01, 0xE0, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 64 | 0x00, 0x00, 0xC0, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 65 | |
andrewcrussell | 1:ecf8078bf531 | 66 | /* character 0x33 ('3'): (width=10, offset=189) */ |
andrewcrussell | 1:ecf8078bf531 | 67 | 0x00, 0x00, 0x00, 0x01, 0x81, 0x80, 0x03, 0x18, |
andrewcrussell | 1:ecf8078bf531 | 68 | 0xC0, 0x03, 0x18, 0xC0, 0x03, 0x18, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 69 | 0x18, 0xC0, 0x03, 0xFF, 0xC0, 0x01, 0xE7, 0x80, |
andrewcrussell | 1:ecf8078bf531 | 70 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 71 | |
andrewcrussell | 1:ecf8078bf531 | 72 | /* character 0x34 ('4'): (width=10, offset=219) */ |
andrewcrussell | 1:ecf8078bf531 | 73 | 0x00, 0x00, 0x00, 0x00, 0x0E, 0x00, 0x00, 0x3E, |
andrewcrussell | 1:ecf8078bf531 | 74 | 0x00, 0x00, 0x76, 0x00, 0x01, 0xC6, 0x00, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 75 | 0x06, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 76 | 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 77 | |
andrewcrussell | 1:ecf8078bf531 | 78 | /* character 0x35 ('5'): (width=10, offset=249) */ |
andrewcrussell | 1:ecf8078bf531 | 79 | 0x00, 0x00, 0x00, 0x03, 0xF1, 0x80, 0x03, 0xF0, |
andrewcrussell | 1:ecf8078bf531 | 80 | 0xC0, 0x03, 0x30, 0xC0, 0x03, 0x30, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 81 | 0x30, 0xC0, 0x03, 0x39, 0xC0, 0x03, 0x1F, 0x80, |
andrewcrussell | 1:ecf8078bf531 | 82 | 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 83 | |
andrewcrussell | 1:ecf8078bf531 | 84 | /* character 0x36 ('6'): (width=10, offset=279) */ |
andrewcrussell | 1:ecf8078bf531 | 85 | 0x00, 0x00, 0x00, 0x00, 0x7F, 0x00, 0x01, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 86 | 0x80, 0x01, 0x99, 0xC0, 0x03, 0x30, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 87 | 0x30, 0xC0, 0x03, 0x39, 0xC0, 0x03, 0x1F, 0x80, |
andrewcrussell | 1:ecf8078bf531 | 88 | 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 89 | |
andrewcrussell | 1:ecf8078bf531 | 90 | /* character 0x37 ('7'): (width=10, offset=309) */ |
andrewcrussell | 1:ecf8078bf531 | 91 | 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x03, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 92 | 0xC0, 0x03, 0x03, 0xC0, 0x03, 0x0F, 0x80, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 93 | 0x1E, 0x00, 0x03, 0x78, 0x00, 0x03, 0xE0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 94 | 0x03, 0x80, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 95 | |
andrewcrussell | 1:ecf8078bf531 | 96 | /* character 0x38 ('8'): (width=10, offset=339) */ |
andrewcrussell | 1:ecf8078bf531 | 97 | 0x00, 0x00, 0x00, 0x01, 0xE3, 0x80, 0x03, 0xF7, |
andrewcrussell | 1:ecf8078bf531 | 98 | 0xC0, 0x03, 0x3C, 0xC0, 0x03, 0x18, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 99 | 0x18, 0xC0, 0x03, 0x3C, 0xC0, 0x03, 0xEF, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 100 | 0x01, 0xC7, 0x80, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 101 | |
andrewcrussell | 1:ecf8078bf531 | 102 | /* character 0x39 ('9'): (width=10, offset=369) */ |
andrewcrussell | 1:ecf8078bf531 | 103 | 0x00, 0x00, 0x00, 0x00, 0xF0, 0xC0, 0x01, 0xF8, |
andrewcrussell | 1:ecf8078bf531 | 104 | 0xC0, 0x03, 0x9C, 0xC0, 0x03, 0x0C, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 105 | 0x0C, 0xC0, 0x03, 0x99, 0x80, 0x01, 0xFF, 0x80, |
andrewcrussell | 1:ecf8078bf531 | 106 | 0x00, 0xFE, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 107 | |
andrewcrussell | 1:ecf8078bf531 | 108 | /* character 0x3A (':'): (width=5, offset=399) */ |
andrewcrussell | 1:ecf8078bf531 | 109 | 0x00, 0x00, 0x00, 0x00, 0x30, 0xC0, 0x00, 0x30, |
andrewcrussell | 1:ecf8078bf531 | 110 | 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 111 | |
andrewcrussell | 1:ecf8078bf531 | 112 | /* character 0x3B (';'): (width=5, offset=414) */ |
andrewcrussell | 1:ecf8078bf531 | 113 | 0x00, 0x00, 0x18, 0x00, 0x30, 0xF8, 0x00, 0x30, |
andrewcrussell | 1:ecf8078bf531 | 114 | 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 115 | |
andrewcrussell | 1:ecf8078bf531 | 116 | /* character 0x3C ('<'): (width=9, offset=429) */ |
andrewcrussell | 1:ecf8078bf531 | 117 | 0x00, 0x00, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x1C, |
andrewcrussell | 1:ecf8078bf531 | 118 | 0x00, 0x00, 0x36, 0x00, 0x00, 0x36, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 119 | 0x63, 0x00, 0x00, 0x63, 0x00, 0x00, 0xC1, 0x80, |
andrewcrussell | 1:ecf8078bf531 | 120 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 121 | |
andrewcrussell | 1:ecf8078bf531 | 122 | /* character 0x3D ('='): (width=9, offset=456) */ |
andrewcrussell | 1:ecf8078bf531 | 123 | 0x00, 0x33, 0x00, 0x00, 0x33, 0x00, 0x00, 0x33, |
andrewcrussell | 1:ecf8078bf531 | 124 | 0x00, 0x00, 0x33, 0x00, 0x00, 0x33, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 125 | 0x33, 0x00, 0x00, 0x33, 0x00, 0x00, 0x33, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 126 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 127 | |
andrewcrussell | 1:ecf8078bf531 | 128 | /* character 0x3E ('>'): (width=9, offset=483) */ |
andrewcrussell | 1:ecf8078bf531 | 129 | 0x00, 0x00, 0x00, 0x00, 0xC1, 0x80, 0x00, 0x63, |
andrewcrussell | 1:ecf8078bf531 | 130 | 0x00, 0x00, 0x63, 0x00, 0x00, 0x36, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 131 | 0x36, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x1C, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 132 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 133 | |
andrewcrussell | 1:ecf8078bf531 | 134 | /* character 0x3F ('?'): (width=9, offset=510) */ |
andrewcrussell | 1:ecf8078bf531 | 135 | 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x06, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 136 | 0x00, 0x06, 0x1D, 0xC0, 0x06, 0x1D, 0xC0, 0x07, |
andrewcrussell | 1:ecf8078bf531 | 137 | 0x30, 0x00, 0x03, 0xF0, 0x00, 0x01, 0xE0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 138 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 139 | |
andrewcrussell | 1:ecf8078bf531 | 140 | /* character 0x40 ('@'): (width=17, offset=537) */ |
andrewcrussell | 1:ecf8078bf531 | 141 | 0x00, 0x00, 0x00, 0x00, 0x1F, 0x80, 0x00, 0x7F, |
andrewcrussell | 1:ecf8078bf531 | 142 | 0xC0, 0x00, 0xE0, 0xE0, 0x01, 0xC0, 0x70, 0x01, |
andrewcrussell | 1:ecf8078bf531 | 143 | 0x9E, 0x30, 0x03, 0x3F, 0x30, 0x03, 0x63, 0x30, |
andrewcrussell | 1:ecf8078bf531 | 144 | 0x03, 0x63, 0x30, 0x03, 0x3E, 0x30, 0x03, 0x7F, |
andrewcrussell | 1:ecf8078bf531 | 145 | 0x30, 0x03, 0x73, 0x60, 0x03, 0x03, 0x00, 0x01, |
andrewcrussell | 1:ecf8078bf531 | 146 | 0x87, 0x00, 0x01, 0xFE, 0x00, 0x00, 0x7C, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 147 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 148 | |
andrewcrussell | 1:ecf8078bf531 | 149 | /* character 0x41 ('A'): (width=12, offset=588) */ |
andrewcrussell | 1:ecf8078bf531 | 150 | 0x00, 0x00, 0xC0, 0x00, 0x07, 0xC0, 0x00, 0x1F, |
andrewcrussell | 1:ecf8078bf531 | 151 | 0x00, 0x00, 0xFE, 0x00, 0x03, 0xE6, 0x00, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 152 | 0x06, 0x00, 0x03, 0xE6, 0x00, 0x00, 0xFE, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 153 | 0x00, 0x1F, 0x00, 0x00, 0x07, 0xC0, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 154 | 0xC0, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 155 | |
andrewcrussell | 1:ecf8078bf531 | 156 | /* character 0x42 ('B'): (width=11, offset=624) */ |
andrewcrussell | 1:ecf8078bf531 | 157 | 0x00, 0x00, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 158 | 0xC0, 0x03, 0x18, 0xC0, 0x03, 0x18, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 159 | 0x18, 0xC0, 0x03, 0x18, 0xC0, 0x03, 0x18, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 160 | 0x03, 0xFF, 0xC0, 0x01, 0xEF, 0x80, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 161 | 0x00, |
andrewcrussell | 1:ecf8078bf531 | 162 | |
andrewcrussell | 1:ecf8078bf531 | 163 | /* character 0x43 ('C'): (width=10, offset=657) */ |
andrewcrussell | 1:ecf8078bf531 | 164 | 0x00, 0x00, 0x00, 0x00, 0x7E, 0x00, 0x01, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 165 | 0x80, 0x01, 0x81, 0x80, 0x03, 0x00, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 166 | 0x00, 0xC0, 0x03, 0x00, 0xC0, 0x03, 0x00, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 167 | 0x03, 0x00, 0xC0, 0x01, 0x81, 0x80, |
andrewcrussell | 1:ecf8078bf531 | 168 | |
andrewcrussell | 1:ecf8078bf531 | 169 | /* character 0x44 ('D'): (width=12, offset=687) */ |
andrewcrussell | 1:ecf8078bf531 | 170 | 0x00, 0x00, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 171 | 0xC0, 0x03, 0x00, 0xC0, 0x03, 0x00, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 172 | 0x00, 0xC0, 0x03, 0x00, 0xC0, 0x03, 0x00, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 173 | 0x01, 0x81, 0x80, 0x01, 0xFF, 0x80, 0x00, 0x7E, |
andrewcrussell | 1:ecf8078bf531 | 174 | 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 175 | |
andrewcrussell | 1:ecf8078bf531 | 176 | /* character 0x45 ('E'): (width=9, offset=723) */ |
andrewcrussell | 1:ecf8078bf531 | 177 | 0x00, 0x00, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 178 | 0xC0, 0x03, 0x18, 0xC0, 0x03, 0x18, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 179 | 0x18, 0xC0, 0x03, 0x18, 0xC0, 0x03, 0x00, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 180 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 181 | |
andrewcrussell | 1:ecf8078bf531 | 182 | /* character 0x46 ('F'): (width=9, offset=750) */ |
andrewcrussell | 1:ecf8078bf531 | 183 | 0x00, 0x00, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 184 | 0xC0, 0x03, 0x18, 0x00, 0x03, 0x18, 0x00, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 185 | 0x18, 0x00, 0x03, 0x18, 0x00, 0x03, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 186 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 187 | |
andrewcrussell | 1:ecf8078bf531 | 188 | /* character 0x47 ('G'): (width=12, offset=777) */ |
andrewcrussell | 1:ecf8078bf531 | 189 | 0x00, 0x00, 0x00, 0x00, 0x7E, 0x00, 0x01, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 190 | 0x80, 0x01, 0x81, 0x80, 0x03, 0x00, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 191 | 0x00, 0xC0, 0x03, 0x18, 0xC0, 0x03, 0x18, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 192 | 0x03, 0x18, 0xC0, 0x03, 0x1F, 0xC0, 0x01, 0x9F, |
andrewcrussell | 1:ecf8078bf531 | 193 | 0x80, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 194 | |
andrewcrussell | 1:ecf8078bf531 | 195 | /* character 0x48 ('H'): (width=12, offset=813) */ |
andrewcrussell | 1:ecf8078bf531 | 196 | 0x00, 0x00, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 197 | 0xC0, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 198 | 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 199 | 0x00, 0x18, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 200 | 0xC0, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 201 | |
andrewcrussell | 1:ecf8078bf531 | 202 | /* character 0x49 ('I'): (width=5, offset=849) */ |
andrewcrussell | 1:ecf8078bf531 | 203 | 0x00, 0x00, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 204 | 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 205 | |
andrewcrussell | 1:ecf8078bf531 | 206 | /* character 0x4A ('J'): (width=6, offset=864) */ |
andrewcrussell | 1:ecf8078bf531 | 207 | 0x00, 0x01, 0x80, 0x00, 0x00, 0xC0, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 208 | 0xC0, 0x03, 0xFF, 0xC0, 0x03, 0xFF, 0x80, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 209 | 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 210 | |
andrewcrussell | 1:ecf8078bf531 | 211 | /* character 0x4B ('K'): (width=10, offset=882) */ |
andrewcrussell | 1:ecf8078bf531 | 212 | 0x00, 0x00, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 213 | 0xC0, 0x00, 0x18, 0x00, 0x00, 0x3C, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 214 | 0x7F, 0x00, 0x00, 0xE7, 0x80, 0x01, 0xC3, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 215 | 0x03, 0x80, 0xC0, 0x03, 0x00, 0x40, |
andrewcrussell | 1:ecf8078bf531 | 216 | |
andrewcrussell | 1:ecf8078bf531 | 217 | /* character 0x4C ('L'): (width=8, offset=912) */ |
andrewcrussell | 1:ecf8078bf531 | 218 | 0x00, 0x00, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 219 | 0xC0, 0x00, 0x00, 0xC0, 0x00, 0x00, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 220 | 0x00, 0xC0, 0x00, 0x00, 0xC0, 0x00, 0x00, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 221 | |
andrewcrussell | 1:ecf8078bf531 | 222 | /* character 0x4D ('M'): (width=17, offset=936) */ |
andrewcrussell | 1:ecf8078bf531 | 223 | 0x00, 0x00, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 224 | 0xC0, 0x03, 0xC0, 0x00, 0x00, 0xF0, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 225 | 0x3C, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x03, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 226 | 0x00, 0x03, 0xC0, 0x00, 0x0F, 0x00, 0x00, 0x3C, |
andrewcrussell | 1:ecf8078bf531 | 227 | 0x00, 0x00, 0xF0, 0x00, 0x03, 0xC0, 0x00, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 228 | 0xFF, 0xC0, 0x03, 0xFF, 0xC0, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 229 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 230 | |
andrewcrussell | 1:ecf8078bf531 | 231 | /* character 0x4E ('N'): (width=13, offset=987) */ |
andrewcrussell | 1:ecf8078bf531 | 232 | 0x00, 0x00, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 233 | 0xC0, 0x03, 0x80, 0x00, 0x01, 0xE0, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 234 | 0x70, 0x00, 0x00, 0x3C, 0x00, 0x00, 0x0E, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 235 | 0x00, 0x07, 0x80, 0x00, 0x01, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 236 | 0xC0, 0x03, 0xFF, 0xC0, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 237 | |
andrewcrussell | 1:ecf8078bf531 | 238 | /* character 0x4F ('O'): (width=13, offset=1026) */ |
andrewcrussell | 1:ecf8078bf531 | 239 | 0x00, 0x00, 0x00, 0x00, 0x7E, 0x00, 0x01, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 240 | 0x80, 0x01, 0x81, 0x80, 0x03, 0x00, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 241 | 0x00, 0xC0, 0x03, 0x00, 0xC0, 0x03, 0x00, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 242 | 0x03, 0x00, 0xC0, 0x01, 0x81, 0x80, 0x01, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 243 | 0x80, 0x00, 0x7E, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 244 | |
andrewcrussell | 1:ecf8078bf531 | 245 | /* character 0x50 ('P'): (width=10, offset=1065) */ |
andrewcrussell | 1:ecf8078bf531 | 246 | 0x00, 0x00, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 247 | 0xC0, 0x03, 0x0C, 0x00, 0x03, 0x0C, 0x00, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 248 | 0x0C, 0x00, 0x03, 0x9C, 0x00, 0x01, 0xF8, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 249 | 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 250 | |
andrewcrussell | 1:ecf8078bf531 | 251 | /* character 0x51 ('Q'): (width=14, offset=1095) */ |
andrewcrussell | 1:ecf8078bf531 | 252 | 0x00, 0x00, 0x00, 0x00, 0x7E, 0x00, 0x01, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 253 | 0x80, 0x01, 0x81, 0x80, 0x03, 0x00, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 254 | 0x00, 0xC0, 0x03, 0x00, 0xC0, 0x03, 0x00, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 255 | 0x03, 0x00, 0xC0, 0x01, 0x81, 0xE0, 0x01, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 256 | 0x60, 0x00, 0x7E, 0x30, 0x00, 0x00, 0x30, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 257 | 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 258 | |
andrewcrussell | 1:ecf8078bf531 | 259 | /* character 0x52 ('R'): (width=11, offset=1137) */ |
andrewcrussell | 1:ecf8078bf531 | 260 | 0x00, 0x00, 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 261 | 0xC0, 0x03, 0x18, 0x00, 0x03, 0x18, 0x00, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 262 | 0x18, 0x00, 0x03, 0x1C, 0x00, 0x03, 0xF7, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 263 | 0x01, 0xE3, 0xC0, 0x00, 0x00, 0xC0, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 264 | 0x00, |
andrewcrussell | 1:ecf8078bf531 | 265 | |
andrewcrussell | 1:ecf8078bf531 | 266 | /* character 0x53 ('S'): (width=9, offset=1170) */ |
andrewcrussell | 1:ecf8078bf531 | 267 | 0x00, 0x00, 0x00, 0x00, 0xE1, 0x80, 0x01, 0xF0, |
andrewcrussell | 1:ecf8078bf531 | 268 | 0xC0, 0x03, 0x38, 0xC0, 0x03, 0x18, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 269 | 0x1C, 0xC0, 0x03, 0x0F, 0x80, 0x01, 0x87, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 270 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 271 | |
andrewcrussell | 1:ecf8078bf531 | 272 | /* character 0x54 ('T'): (width=10, offset=1197) */ |
andrewcrussell | 1:ecf8078bf531 | 273 | 0x03, 0x00, 0x00, 0x03, 0x00, 0x00, 0x03, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 274 | 0x00, 0x03, 0xFF, 0xC0, 0x03, 0xFF, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 275 | 0x00, 0x00, 0x03, 0x00, 0x00, 0x03, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 276 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 277 | |
andrewcrussell | 1:ecf8078bf531 | 278 | /* character 0x55 ('U'): (width=12, offset=1227) */ |
andrewcrussell | 1:ecf8078bf531 | 279 | 0x00, 0x00, 0x00, 0x03, 0xFF, 0x00, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 280 | 0x80, 0x00, 0x01, 0xC0, 0x00, 0x00, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 281 | 0x00, 0xC0, 0x00, 0x00, 0xC0, 0x00, 0x00, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 282 | 0x00, 0x01, 0xC0, 0x03, 0xFF, 0x80, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 283 | 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 284 | |
andrewcrussell | 1:ecf8078bf531 | 285 | /* character 0x56 ('V'): (width=11, offset=1263) */ |
andrewcrussell | 1:ecf8078bf531 | 286 | 0x03, 0x00, 0x00, 0x03, 0xE0, 0x00, 0x00, 0xF8, |
andrewcrussell | 1:ecf8078bf531 | 287 | 0x00, 0x00, 0x1F, 0x00, 0x00, 0x07, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 288 | 0x00, 0xC0, 0x00, 0x07, 0xC0, 0x00, 0x1F, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 289 | 0x00, 0xF8, 0x00, 0x03, 0xE0, 0x00, 0x03, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 290 | 0x00, |
andrewcrussell | 1:ecf8078bf531 | 291 | |
andrewcrussell | 1:ecf8078bf531 | 292 | /* character 0x57 ('W'): (width=17, offset=1296) */ |
andrewcrussell | 1:ecf8078bf531 | 293 | 0x00, 0x00, 0x00, 0x03, 0x80, 0x00, 0x03, 0xF0, |
andrewcrussell | 1:ecf8078bf531 | 294 | 0x00, 0x00, 0x7E, 0x00, 0x00, 0x0F, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 295 | 0x07, 0xC0, 0x00, 0x3F, 0x00, 0x01, 0xF8, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 296 | 0x03, 0xC0, 0x00, 0x01, 0xF8, 0x00, 0x00, 0x3F, |
andrewcrussell | 1:ecf8078bf531 | 297 | 0x00, 0x00, 0x07, 0xC0, 0x00, 0x0F, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 298 | 0x7E, 0x00, 0x03, 0xF0, 0x00, 0x03, 0x80, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 299 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 300 | |
andrewcrussell | 1:ecf8078bf531 | 301 | /* character 0x58 ('X'): (width=10, offset=1347) */ |
andrewcrussell | 1:ecf8078bf531 | 302 | 0x02, 0x00, 0x40, 0x03, 0x81, 0xC0, 0x01, 0xE7, |
andrewcrussell | 1:ecf8078bf531 | 303 | 0x80, 0x00, 0x7E, 0x00, 0x00, 0x18, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 304 | 0x7E, 0x00, 0x01, 0xE7, 0x80, 0x03, 0x81, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 305 | 0x02, 0x00, 0x40, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 306 | |
andrewcrussell | 1:ecf8078bf531 | 307 | /* character 0x59 ('Y'): (width=10, offset=1377) */ |
andrewcrussell | 1:ecf8078bf531 | 308 | 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x03, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 309 | 0x00, 0x00, 0xF0, 0x00, 0x00, 0x3F, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 310 | 0x3F, 0xC0, 0x00, 0xF0, 0x00, 0x03, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 311 | 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 312 | |
andrewcrussell | 1:ecf8078bf531 | 313 | /* character 0x5A ('Z'): (width=9, offset=1407) */ |
andrewcrussell | 1:ecf8078bf531 | 314 | 0x03, 0x01, 0xC0, 0x03, 0x03, 0xC0, 0x03, 0x07, |
andrewcrussell | 1:ecf8078bf531 | 315 | 0xC0, 0x03, 0x1E, 0xC0, 0x03, 0x3C, 0xC0, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 316 | 0x70, 0xC0, 0x03, 0xE0, 0xC0, 0x03, 0xC0, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 317 | 0x03, 0x80, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 318 | |
andrewcrussell | 1:ecf8078bf531 | 319 | /* character 0x5B ('['): (width=6, offset=1434) */ |
andrewcrussell | 1:ecf8078bf531 | 320 | 0x00, 0x00, 0x00, 0x07, 0xFF, 0xF8, 0x07, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 321 | 0xF8, 0x06, 0x00, 0x18, 0x06, 0x00, 0x18, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 322 | 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 323 | |
andrewcrussell | 1:ecf8078bf531 | 324 | /* character 0x5C ('\'): (width=8, offset=1452) */ |
andrewcrussell | 1:ecf8078bf531 | 325 | 0x0C, 0x00, 0x00, 0x0F, 0x80, 0x00, 0x03, 0xE0, |
andrewcrussell | 1:ecf8078bf531 | 326 | 0x00, 0x00, 0x7C, 0x00, 0x00, 0x1F, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 327 | 0x03, 0xE0, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x18, |
andrewcrussell | 1:ecf8078bf531 | 328 | |
andrewcrussell | 1:ecf8078bf531 | 329 | /* character 0x5D (']'): (width=6, offset=1476) */ |
andrewcrussell | 1:ecf8078bf531 | 330 | 0x00, 0x00, 0x00, 0x06, 0x00, 0x18, 0x06, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 331 | 0x18, 0x07, 0xFF, 0xF8, 0x07, 0xFF, 0xF8, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 332 | 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 333 | |
andrewcrussell | 1:ecf8078bf531 | 334 | /* character 0x5E ('^'): (width=9, offset=1494) */ |
andrewcrussell | 1:ecf8078bf531 | 335 | 0x00, 0x18, 0x00, 0x00, 0x78, 0x00, 0x01, 0xE0, |
andrewcrussell | 1:ecf8078bf531 | 336 | 0x00, 0x03, 0x80, 0x00, 0x03, 0x00, 0x00, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 337 | 0x80, 0x00, 0x01, 0xE0, 0x00, 0x00, 0x78, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 338 | 0x00, 0x18, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 339 | |
andrewcrussell | 1:ecf8078bf531 | 340 | /* character 0x5F ('_'): (width=10, offset=1521) */ |
andrewcrussell | 1:ecf8078bf531 | 341 | 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 342 | 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 343 | 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, |
andrewcrussell | 1:ecf8078bf531 | 344 | 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 345 | |
andrewcrussell | 1:ecf8078bf531 | 346 | /* character 0x60 ('`'): (width=6, offset=1551) */ |
andrewcrussell | 1:ecf8078bf531 | 347 | 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x06, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 348 | 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 349 | 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 350 | |
andrewcrussell | 1:ecf8078bf531 | 351 | /* character 0x61 ('a'): (width=9, offset=1569) */ |
andrewcrussell | 1:ecf8078bf531 | 352 | 0x00, 0x00, 0x00, 0x00, 0x33, 0x80, 0x00, 0x67, |
andrewcrussell | 1:ecf8078bf531 | 353 | 0xC0, 0x00, 0x64, 0xC0, 0x00, 0x64, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 354 | 0x64, 0x80, 0x00, 0x7F, 0xC0, 0x00, 0x3F, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 355 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 356 | |
andrewcrussell | 1:ecf8078bf531 | 357 | /* character 0x62 ('b'): (width=10, offset=1596) */ |
andrewcrussell | 1:ecf8078bf531 | 358 | 0x00, 0x00, 0x00, 0x07, 0xFF, 0xC0, 0x07, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 359 | 0xC0, 0x00, 0x31, 0x80, 0x00, 0x60, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 360 | 0x60, 0xC0, 0x00, 0x71, 0xC0, 0x00, 0x3F, 0x80, |
andrewcrussell | 1:ecf8078bf531 | 361 | 0x00, 0x1F, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 362 | |
andrewcrussell | 1:ecf8078bf531 | 363 | /* character 0x63 ('c'): (width=8, offset=1626) */ |
andrewcrussell | 1:ecf8078bf531 | 364 | 0x00, 0x00, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x3F, |
andrewcrussell | 1:ecf8078bf531 | 365 | 0x80, 0x00, 0x71, 0xC0, 0x00, 0x60, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 366 | 0x60, 0xC0, 0x00, 0x31, 0x80, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 367 | |
andrewcrussell | 1:ecf8078bf531 | 368 | /* character 0x64 ('d'): (width=10, offset=1650) */ |
andrewcrussell | 1:ecf8078bf531 | 369 | 0x00, 0x00, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x3F, |
andrewcrussell | 1:ecf8078bf531 | 370 | 0x80, 0x00, 0x71, 0xC0, 0x00, 0x60, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 371 | 0x60, 0xC0, 0x00, 0x31, 0x80, 0x07, 0xFF, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 372 | 0x07, 0xFF, 0xC0, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 373 | |
andrewcrussell | 1:ecf8078bf531 | 374 | /* character 0x65 ('e'): (width=10, offset=1680) */ |
andrewcrussell | 1:ecf8078bf531 | 375 | 0x00, 0x00, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x3F, |
andrewcrussell | 1:ecf8078bf531 | 376 | 0x80, 0x00, 0x75, 0xC0, 0x00, 0x64, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 377 | 0x64, 0xC0, 0x00, 0x74, 0xC0, 0x00, 0x3C, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 378 | 0x00, 0x1D, 0x80, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 379 | |
andrewcrussell | 1:ecf8078bf531 | 380 | /* character 0x66 ('f'): (width=7, offset=1710) */ |
andrewcrussell | 1:ecf8078bf531 | 381 | 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x03, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 382 | 0xC0, 0x07, 0xFF, 0xC0, 0x06, 0x60, 0x00, 0x06, |
andrewcrussell | 1:ecf8078bf531 | 383 | 0x60, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 384 | |
andrewcrussell | 1:ecf8078bf531 | 385 | /* character 0x67 ('g'): (width=9, offset=1731) */ |
andrewcrussell | 1:ecf8078bf531 | 386 | 0x00, 0x00, 0x70, 0x00, 0x3D, 0xF8, 0x00, 0x7F, |
andrewcrussell | 1:ecf8078bf531 | 387 | 0xD8, 0x00, 0x66, 0xD8, 0x00, 0x66, 0xD8, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 388 | 0x7E, 0xD8, 0x00, 0x7C, 0xF0, 0x00, 0x60, 0x70, |
andrewcrussell | 1:ecf8078bf531 | 389 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 390 | |
andrewcrussell | 1:ecf8078bf531 | 391 | /* character 0x68 ('h'): (width=10, offset=1758) */ |
andrewcrussell | 1:ecf8078bf531 | 392 | 0x00, 0x00, 0x00, 0x07, 0xFF, 0xC0, 0x07, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 393 | 0xC0, 0x00, 0x30, 0x00, 0x00, 0x60, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 394 | 0x60, 0x00, 0x00, 0x60, 0x00, 0x00, 0x7F, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 395 | 0x00, 0x3F, 0xC0, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 396 | |
andrewcrussell | 1:ecf8078bf531 | 397 | /* character 0x69 ('i'): (width=5, offset=1788) */ |
andrewcrussell | 1:ecf8078bf531 | 398 | 0x00, 0x00, 0x00, 0x03, 0x7F, 0xC0, 0x03, 0x7F, |
andrewcrussell | 1:ecf8078bf531 | 399 | 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 400 | |
andrewcrussell | 1:ecf8078bf531 | 401 | /* character 0x6A ('j'): (width=7, offset=1803) */ |
andrewcrussell | 1:ecf8078bf531 | 402 | 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x03, 0x7F, |
andrewcrussell | 1:ecf8078bf531 | 403 | 0xF8, 0x03, 0x7F, 0xF0, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 404 | 0x00, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 405 | |
andrewcrussell | 1:ecf8078bf531 | 406 | /* character 0x6B ('k'): (width=9, offset=1824) */ |
andrewcrussell | 1:ecf8078bf531 | 407 | 0x00, 0x00, 0x00, 0x07, 0xFF, 0xC0, 0x07, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 408 | 0xC0, 0x00, 0x0C, 0x00, 0x00, 0x1E, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 409 | 0x3F, 0x00, 0x00, 0x73, 0x80, 0x00, 0x61, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 410 | 0x00, 0x40, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 411 | |
andrewcrussell | 1:ecf8078bf531 | 412 | /* character 0x6C ('l'): (width=5, offset=1851) */ |
andrewcrussell | 1:ecf8078bf531 | 413 | 0x00, 0x00, 0x00, 0x07, 0xFF, 0xC0, 0x07, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 414 | 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 415 | |
andrewcrussell | 1:ecf8078bf531 | 416 | /* character 0x6D ('m'): (width=15, offset=1866) */ |
andrewcrussell | 1:ecf8078bf531 | 417 | 0x00, 0x00, 0x00, 0x00, 0x7F, 0xC0, 0x00, 0x7F, |
andrewcrussell | 1:ecf8078bf531 | 418 | 0xC0, 0x00, 0x30, 0x00, 0x00, 0x60, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 419 | 0x60, 0x00, 0x00, 0x7F, 0xC0, 0x00, 0x3F, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 420 | 0x00, 0x30, 0x00, 0x00, 0x60, 0x00, 0x00, 0x60, |
andrewcrussell | 1:ecf8078bf531 | 421 | 0x00, 0x00, 0x7F, 0xC0, 0x00, 0x3F, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 422 | 0x00, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 423 | |
andrewcrussell | 1:ecf8078bf531 | 424 | /* character 0x6E ('n'): (width=10, offset=1911) */ |
andrewcrussell | 1:ecf8078bf531 | 425 | 0x00, 0x00, 0x00, 0x00, 0x7F, 0xC0, 0x00, 0x7F, |
andrewcrussell | 1:ecf8078bf531 | 426 | 0xC0, 0x00, 0x30, 0x00, 0x00, 0x60, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 427 | 0x60, 0x00, 0x00, 0x60, 0x00, 0x00, 0x7F, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 428 | 0x00, 0x3F, 0xC0, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 429 | |
andrewcrussell | 1:ecf8078bf531 | 430 | /* character 0x6F ('o'): (width=10, offset=1941) */ |
andrewcrussell | 1:ecf8078bf531 | 431 | 0x00, 0x00, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x3F, |
andrewcrussell | 1:ecf8078bf531 | 432 | 0x80, 0x00, 0x71, 0xC0, 0x00, 0x60, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 433 | 0x60, 0xC0, 0x00, 0x71, 0xC0, 0x00, 0x3F, 0x80, |
andrewcrussell | 1:ecf8078bf531 | 434 | 0x00, 0x1F, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 435 | |
andrewcrussell | 1:ecf8078bf531 | 436 | /* character 0x70 ('p'): (width=10, offset=1971) */ |
andrewcrussell | 1:ecf8078bf531 | 437 | 0x00, 0x00, 0x00, 0x00, 0x7F, 0xF8, 0x00, 0x7F, |
andrewcrussell | 1:ecf8078bf531 | 438 | 0xF8, 0x00, 0x31, 0x80, 0x00, 0x60, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 439 | 0x60, 0xC0, 0x00, 0x71, 0xC0, 0x00, 0x3F, 0x80, |
andrewcrussell | 1:ecf8078bf531 | 440 | 0x00, 0x1F, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 441 | |
andrewcrussell | 1:ecf8078bf531 | 442 | /* character 0x71 ('q'): (width=10, offset=2001) */ |
andrewcrussell | 1:ecf8078bf531 | 443 | 0x00, 0x00, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x3F, |
andrewcrussell | 1:ecf8078bf531 | 444 | 0x80, 0x00, 0x71, 0xC0, 0x00, 0x60, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 445 | 0x60, 0xC0, 0x00, 0x31, 0x80, 0x00, 0x7F, 0xF8, |
andrewcrussell | 1:ecf8078bf531 | 446 | 0x00, 0x7F, 0xF8, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 447 | |
andrewcrussell | 1:ecf8078bf531 | 448 | /* character 0x72 ('r'): (width=7, offset=2031) */ |
andrewcrussell | 1:ecf8078bf531 | 449 | 0x00, 0x00, 0x00, 0x00, 0x7F, 0xC0, 0x00, 0x7F, |
andrewcrussell | 1:ecf8078bf531 | 450 | 0xC0, 0x00, 0x30, 0x00, 0x00, 0x60, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 451 | 0x60, 0x00, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 452 | |
andrewcrussell | 1:ecf8078bf531 | 453 | /* character 0x73 ('s'): (width=8, offset=2052) */ |
andrewcrussell | 1:ecf8078bf531 | 454 | 0x00, 0x00, 0x00, 0x00, 0x39, 0x80, 0x00, 0x7C, |
andrewcrussell | 1:ecf8078bf531 | 455 | 0xC0, 0x00, 0x6C, 0xC0, 0x00, 0x66, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 456 | 0x67, 0xC0, 0x00, 0x33, 0x80, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 457 | |
andrewcrussell | 1:ecf8078bf531 | 458 | /* character 0x74 ('t'): (width=7, offset=2076) */ |
andrewcrussell | 1:ecf8078bf531 | 459 | 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x01, 0xFF, |
andrewcrussell | 1:ecf8078bf531 | 460 | 0x80, 0x01, 0xFF, 0xC0, 0x00, 0x60, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 461 | 0x60, 0xC0, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 462 | |
andrewcrussell | 1:ecf8078bf531 | 463 | /* character 0x75 ('u'): (width=10, offset=2097) */ |
andrewcrussell | 1:ecf8078bf531 | 464 | 0x00, 0x00, 0x00, 0x00, 0x7F, 0x80, 0x00, 0x7F, |
andrewcrussell | 1:ecf8078bf531 | 465 | 0xC0, 0x00, 0x00, 0xC0, 0x00, 0x00, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 466 | 0x00, 0xC0, 0x00, 0x01, 0x80, 0x00, 0x7F, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 467 | 0x00, 0x7F, 0xC0, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 468 | |
andrewcrussell | 1:ecf8078bf531 | 469 | /* character 0x76 ('v'): (width=9, offset=2127) */ |
andrewcrussell | 1:ecf8078bf531 | 470 | 0x00, 0x60, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x1F, |
andrewcrussell | 1:ecf8078bf531 | 471 | 0x00, 0x00, 0x03, 0xC0, 0x00, 0x00, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 472 | 0x03, 0xC0, 0x00, 0x1F, 0x00, 0x00, 0x7C, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 473 | 0x00, 0x60, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 474 | |
andrewcrussell | 1:ecf8078bf531 | 475 | /* character 0x77 ('w'): (width=14, offset=2154) */ |
andrewcrussell | 1:ecf8078bf531 | 476 | 0x00, 0x60, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x1F, |
andrewcrussell | 1:ecf8078bf531 | 477 | 0x00, 0x00, 0x03, 0xC0, 0x00, 0x03, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 478 | 0x1F, 0x00, 0x00, 0x78, 0x00, 0x00, 0x78, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 479 | 0x00, 0x1F, 0x00, 0x00, 0x03, 0xC0, 0x00, 0x03, |
andrewcrussell | 1:ecf8078bf531 | 480 | 0xC0, 0x00, 0x1F, 0x00, 0x00, 0x7C, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 481 | 0x60, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 482 | |
andrewcrussell | 1:ecf8078bf531 | 483 | /* character 0x78 ('x'): (width=9, offset=2196) */ |
andrewcrussell | 1:ecf8078bf531 | 484 | 0x00, 0x00, 0x00, 0x00, 0x60, 0xC0, 0x00, 0x7B, |
andrewcrussell | 1:ecf8078bf531 | 485 | 0xC0, 0x00, 0x1F, 0x00, 0x00, 0x0E, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 486 | 0x1F, 0x00, 0x00, 0x7B, 0xC0, 0x00, 0x60, 0xC0, |
andrewcrussell | 1:ecf8078bf531 | 487 | 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 488 | |
andrewcrussell | 1:ecf8078bf531 | 489 | /* character 0x79 ('y'): (width=9, offset=2223) */ |
andrewcrussell | 1:ecf8078bf531 | 490 | 0x00, 0x60, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x1F, |
andrewcrussell | 1:ecf8078bf531 | 491 | 0x00, 0x00, 0x03, 0x98, 0x00, 0x00, 0xF8, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 492 | 0x03, 0xE0, 0x00, 0x1F, 0x00, 0x00, 0x7C, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 493 | 0x00, 0x60, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 494 | |
andrewcrussell | 1:ecf8078bf531 | 495 | /* character 0x7A ('z'): (width=8, offset=2250) */ |
andrewcrussell | 1:ecf8078bf531 | 496 | 0x00, 0x00, 0x00, 0x00, 0x61, 0xC0, 0x00, 0x63, |
andrewcrussell | 1:ecf8078bf531 | 497 | 0xC0, 0x00, 0x66, 0xC0, 0x00, 0x6C, 0xC0, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 498 | 0x78, 0xC0, 0x00, 0x70, 0xC0, 0x00, 0x00, 0x00, |
andrewcrussell | 1:ecf8078bf531 | 499 | |
andrewcrussell | 1:ecf8078bf531 | 500 | }; |
andrewcrussell | 1:ecf8078bf531 | 501 | |
andrewcrussell | 1:ecf8078bf531 | 502 | /******************************************************************************************* |
andrewcrussell | 1:ecf8078bf531 | 503 | Offset table provides the starting offset of each character in the data table. |
andrewcrussell | 1:ecf8078bf531 | 504 | |
andrewcrussell | 1:ecf8078bf531 | 505 | To get the starting offset of character 'A', you can use the following expression: |
andrewcrussell | 1:ecf8078bf531 | 506 | |
andrewcrussell | 1:ecf8078bf531 | 507 | const unsigned char index = index_table['A']; |
andrewcrussell | 1:ecf8078bf531 | 508 | const unsigned int offset = offset_table[index] |
andrewcrussell | 1:ecf8078bf531 | 509 | |
andrewcrussell | 1:ecf8078bf531 | 510 | *******************************************************************************************/ |
andrewcrussell | 1:ecf8078bf531 | 511 | const unsigned int c14_offset_table[] = { |
andrewcrussell | 1:ecf8078bf531 | 512 | /* offset char hexcode */ |
andrewcrussell | 1:ecf8078bf531 | 513 | /* ====== ==== ======= */ |
andrewcrussell | 1:ecf8078bf531 | 514 | 0, /* + 2B */ |
andrewcrussell | 1:ecf8078bf531 | 515 | 27, /* , 2C */ |
andrewcrussell | 1:ecf8078bf531 | 516 | 42, /* - 2D */ |
andrewcrussell | 1:ecf8078bf531 | 517 | 60, /* . 2E */ |
andrewcrussell | 1:ecf8078bf531 | 518 | 75, /* / 2F */ |
andrewcrussell | 1:ecf8078bf531 | 519 | 99, /* 0 30 */ |
andrewcrussell | 1:ecf8078bf531 | 520 | 129, /* 1 31 */ |
andrewcrussell | 1:ecf8078bf531 | 521 | 159, /* 2 32 */ |
andrewcrussell | 1:ecf8078bf531 | 522 | 189, /* 3 33 */ |
andrewcrussell | 1:ecf8078bf531 | 523 | 219, /* 4 34 */ |
andrewcrussell | 1:ecf8078bf531 | 524 | 249, /* 5 35 */ |
andrewcrussell | 1:ecf8078bf531 | 525 | 279, /* 6 36 */ |
andrewcrussell | 1:ecf8078bf531 | 526 | 309, /* 7 37 */ |
andrewcrussell | 1:ecf8078bf531 | 527 | 339, /* 8 38 */ |
andrewcrussell | 1:ecf8078bf531 | 528 | 369, /* 9 39 */ |
andrewcrussell | 1:ecf8078bf531 | 529 | 399, /* : 3A */ |
andrewcrussell | 1:ecf8078bf531 | 530 | 414, /* ; 3B */ |
andrewcrussell | 1:ecf8078bf531 | 531 | 429, /* < 3C */ |
andrewcrussell | 1:ecf8078bf531 | 532 | 456, /* = 3D */ |
andrewcrussell | 1:ecf8078bf531 | 533 | 483, /* > 3E */ |
andrewcrussell | 1:ecf8078bf531 | 534 | 510, /* ? 3F */ |
andrewcrussell | 1:ecf8078bf531 | 535 | 537, /* @ 40 */ |
andrewcrussell | 1:ecf8078bf531 | 536 | 588, /* A 41 */ |
andrewcrussell | 1:ecf8078bf531 | 537 | 624, /* B 42 */ |
andrewcrussell | 1:ecf8078bf531 | 538 | 657, /* C 43 */ |
andrewcrussell | 1:ecf8078bf531 | 539 | 687, /* D 44 */ |
andrewcrussell | 1:ecf8078bf531 | 540 | 723, /* E 45 */ |
andrewcrussell | 1:ecf8078bf531 | 541 | 750, /* F 46 */ |
andrewcrussell | 1:ecf8078bf531 | 542 | 777, /* G 47 */ |
andrewcrussell | 1:ecf8078bf531 | 543 | 813, /* H 48 */ |
andrewcrussell | 1:ecf8078bf531 | 544 | 849, /* I 49 */ |
andrewcrussell | 1:ecf8078bf531 | 545 | 864, /* J 4A */ |
andrewcrussell | 1:ecf8078bf531 | 546 | 882, /* K 4B */ |
andrewcrussell | 1:ecf8078bf531 | 547 | 912, /* L 4C */ |
andrewcrussell | 1:ecf8078bf531 | 548 | 936, /* M 4D */ |
andrewcrussell | 1:ecf8078bf531 | 549 | 987, /* N 4E */ |
andrewcrussell | 1:ecf8078bf531 | 550 | 1026, /* O 4F */ |
andrewcrussell | 1:ecf8078bf531 | 551 | 1065, /* P 50 */ |
andrewcrussell | 1:ecf8078bf531 | 552 | 1095, /* Q 51 */ |
andrewcrussell | 1:ecf8078bf531 | 553 | 1137, /* R 52 */ |
andrewcrussell | 1:ecf8078bf531 | 554 | 1170, /* S 53 */ |
andrewcrussell | 1:ecf8078bf531 | 555 | 1197, /* T 54 */ |
andrewcrussell | 1:ecf8078bf531 | 556 | 1227, /* U 55 */ |
andrewcrussell | 1:ecf8078bf531 | 557 | 1263, /* V 56 */ |
andrewcrussell | 1:ecf8078bf531 | 558 | 1296, /* W 57 */ |
andrewcrussell | 1:ecf8078bf531 | 559 | 1347, /* X 58 */ |
andrewcrussell | 1:ecf8078bf531 | 560 | 1377, /* Y 59 */ |
andrewcrussell | 1:ecf8078bf531 | 561 | 1407, /* Z 5A */ |
andrewcrussell | 1:ecf8078bf531 | 562 | 1434, /* [ 5B */ |
andrewcrussell | 1:ecf8078bf531 | 563 | 1452, /* \ 5C */ |
andrewcrussell | 1:ecf8078bf531 | 564 | 1476, /* ] 5D */ |
andrewcrussell | 1:ecf8078bf531 | 565 | 1494, /* ^ 5E */ |
andrewcrussell | 1:ecf8078bf531 | 566 | 1521, /* _ 5F */ |
andrewcrussell | 1:ecf8078bf531 | 567 | 1551, /* ` 60 */ |
andrewcrussell | 1:ecf8078bf531 | 568 | 1569, /* a 61 */ |
andrewcrussell | 1:ecf8078bf531 | 569 | 1596, /* b 62 */ |
andrewcrussell | 1:ecf8078bf531 | 570 | 1626, /* c 63 */ |
andrewcrussell | 1:ecf8078bf531 | 571 | 1650, /* d 64 */ |
andrewcrussell | 1:ecf8078bf531 | 572 | 1680, /* e 65 */ |
andrewcrussell | 1:ecf8078bf531 | 573 | 1710, /* f 66 */ |
andrewcrussell | 1:ecf8078bf531 | 574 | 1731, /* g 67 */ |
andrewcrussell | 1:ecf8078bf531 | 575 | 1758, /* h 68 */ |
andrewcrussell | 1:ecf8078bf531 | 576 | 1788, /* i 69 */ |
andrewcrussell | 1:ecf8078bf531 | 577 | 1803, /* j 6A */ |
andrewcrussell | 1:ecf8078bf531 | 578 | 1824, /* k 6B */ |
andrewcrussell | 1:ecf8078bf531 | 579 | 1851, /* l 6C */ |
andrewcrussell | 1:ecf8078bf531 | 580 | 1866, /* m 6D */ |
andrewcrussell | 1:ecf8078bf531 | 581 | 1911, /* n 6E */ |
andrewcrussell | 1:ecf8078bf531 | 582 | 1941, /* o 6F */ |
andrewcrussell | 1:ecf8078bf531 | 583 | 1971, /* p 70 */ |
andrewcrussell | 1:ecf8078bf531 | 584 | 2001, /* q 71 */ |
andrewcrussell | 1:ecf8078bf531 | 585 | 2031, /* r 72 */ |
andrewcrussell | 1:ecf8078bf531 | 586 | 2052, /* s 73 */ |
andrewcrussell | 1:ecf8078bf531 | 587 | 2076, /* t 74 */ |
andrewcrussell | 1:ecf8078bf531 | 588 | 2097, /* u 75 */ |
andrewcrussell | 1:ecf8078bf531 | 589 | 2127, /* v 76 */ |
andrewcrussell | 1:ecf8078bf531 | 590 | 2154, /* w 77 */ |
andrewcrussell | 1:ecf8078bf531 | 591 | 2196, /* x 78 */ |
andrewcrussell | 1:ecf8078bf531 | 592 | 2223, /* y 79 */ |
andrewcrussell | 1:ecf8078bf531 | 593 | 2250, /* z 7A */ |
andrewcrussell | 1:ecf8078bf531 | 594 | }; |
andrewcrussell | 1:ecf8078bf531 | 595 | |
andrewcrussell | 1:ecf8078bf531 | 596 | /******************************************************************************************* |
andrewcrussell | 1:ecf8078bf531 | 597 | Index table is used to find the mapping index of a character. |
andrewcrussell | 1:ecf8078bf531 | 598 | |
andrewcrussell | 1:ecf8078bf531 | 599 | If you can find a simple mathematical expression for index mapping, you can use that. |
andrewcrussell | 1:ecf8078bf531 | 600 | If you do not have such a mathematical expression, this index table is just for you. |
andrewcrussell | 1:ecf8078bf531 | 601 | |
andrewcrussell | 1:ecf8078bf531 | 602 | To get the index of character 'A', you can use the following expression: |
andrewcrussell | 1:ecf8078bf531 | 603 | |
andrewcrussell | 1:ecf8078bf531 | 604 | const unsigned char index = index_table['A']; |
andrewcrussell | 1:ecf8078bf531 | 605 | |
andrewcrussell | 1:ecf8078bf531 | 606 | *******************************************************************************************/ |
andrewcrussell | 1:ecf8078bf531 | 607 | const unsigned char c14_index_table[] = { |
andrewcrussell | 1:ecf8078bf531 | 608 | /* index hexcode decimal char */ |
andrewcrussell | 1:ecf8078bf531 | 609 | /* ===== ======= ======= ==== */ |
andrewcrussell | 1:ecf8078bf531 | 610 | 0, /* 00 0 . */ |
andrewcrussell | 1:ecf8078bf531 | 611 | 0, /* 01 1 . */ |
andrewcrussell | 1:ecf8078bf531 | 612 | 0, /* 02 2 . */ |
andrewcrussell | 1:ecf8078bf531 | 613 | 0, /* 03 3 . */ |
andrewcrussell | 1:ecf8078bf531 | 614 | 0, /* 04 4 . */ |
andrewcrussell | 1:ecf8078bf531 | 615 | 0, /* 05 5 . */ |
andrewcrussell | 1:ecf8078bf531 | 616 | 0, /* 06 6 . */ |
andrewcrussell | 1:ecf8078bf531 | 617 | 0, /* 07 7 . */ |
andrewcrussell | 1:ecf8078bf531 | 618 | 0, /* 08 8 . */ |
andrewcrussell | 1:ecf8078bf531 | 619 | 0, /* 09 9 . */ |
andrewcrussell | 1:ecf8078bf531 | 620 | 0, /* 0A 10 . */ |
andrewcrussell | 1:ecf8078bf531 | 621 | 0, /* 0B 11 . */ |
andrewcrussell | 1:ecf8078bf531 | 622 | 0, /* 0C 12 . */ |
andrewcrussell | 1:ecf8078bf531 | 623 | 0, /* 0D 13 . */ |
andrewcrussell | 1:ecf8078bf531 | 624 | 0, /* 0E 14 . */ |
andrewcrussell | 1:ecf8078bf531 | 625 | 0, /* 0F 15 . */ |
andrewcrussell | 1:ecf8078bf531 | 626 | 0, /* 10 16 . */ |
andrewcrussell | 1:ecf8078bf531 | 627 | 0, /* 11 17 . */ |
andrewcrussell | 1:ecf8078bf531 | 628 | 0, /* 12 18 . */ |
andrewcrussell | 1:ecf8078bf531 | 629 | 0, /* 13 19 . */ |
andrewcrussell | 1:ecf8078bf531 | 630 | 0, /* 14 20 . */ |
andrewcrussell | 1:ecf8078bf531 | 631 | 0, /* 15 21 . */ |
andrewcrussell | 1:ecf8078bf531 | 632 | 0, /* 16 22 . */ |
andrewcrussell | 1:ecf8078bf531 | 633 | 0, /* 17 23 . */ |
andrewcrussell | 1:ecf8078bf531 | 634 | 0, /* 18 24 . */ |
andrewcrussell | 1:ecf8078bf531 | 635 | 0, /* 19 25 . */ |
andrewcrussell | 1:ecf8078bf531 | 636 | 0, /* 1A 26 . */ |
andrewcrussell | 1:ecf8078bf531 | 637 | 0, /* 1B 27 . */ |
andrewcrussell | 1:ecf8078bf531 | 638 | 0, /* 1C 28 . */ |
andrewcrussell | 1:ecf8078bf531 | 639 | 0, /* 1D 29 . */ |
andrewcrussell | 1:ecf8078bf531 | 640 | 0, /* 1E 30 . */ |
andrewcrussell | 1:ecf8078bf531 | 641 | 0, /* 1F 31 . */ |
andrewcrussell | 1:ecf8078bf531 | 642 | 0, /* 20 32 */ |
andrewcrussell | 1:ecf8078bf531 | 643 | 0, /* 21 33 ! */ |
andrewcrussell | 1:ecf8078bf531 | 644 | 0, /* 22 34 " */ |
andrewcrussell | 1:ecf8078bf531 | 645 | 0, /* 23 35 # */ |
andrewcrussell | 1:ecf8078bf531 | 646 | 0, /* 24 36 $ */ |
andrewcrussell | 1:ecf8078bf531 | 647 | 0, /* 25 37 % */ |
andrewcrussell | 1:ecf8078bf531 | 648 | 0, /* 26 38 & */ |
andrewcrussell | 1:ecf8078bf531 | 649 | 0, /* 27 39 ' */ |
andrewcrussell | 1:ecf8078bf531 | 650 | 0, /* 28 40 ( */ |
andrewcrussell | 1:ecf8078bf531 | 651 | 0, /* 29 41 ) */ |
andrewcrussell | 1:ecf8078bf531 | 652 | 0, /* 2A 42 * */ |
andrewcrussell | 1:ecf8078bf531 | 653 | 0, /* 2B 43 + */ |
andrewcrussell | 1:ecf8078bf531 | 654 | 1, /* 2C 44 , */ |
andrewcrussell | 1:ecf8078bf531 | 655 | 2, /* 2D 45 - */ |
andrewcrussell | 1:ecf8078bf531 | 656 | 3, /* 2E 46 . */ |
andrewcrussell | 1:ecf8078bf531 | 657 | 4, /* 2F 47 / */ |
andrewcrussell | 1:ecf8078bf531 | 658 | 5, /* 30 48 0 */ |
andrewcrussell | 1:ecf8078bf531 | 659 | 6, /* 31 49 1 */ |
andrewcrussell | 1:ecf8078bf531 | 660 | 7, /* 32 50 2 */ |
andrewcrussell | 1:ecf8078bf531 | 661 | 8, /* 33 51 3 */ |
andrewcrussell | 1:ecf8078bf531 | 662 | 9, /* 34 52 4 */ |
andrewcrussell | 1:ecf8078bf531 | 663 | 10, /* 35 53 5 */ |
andrewcrussell | 1:ecf8078bf531 | 664 | 11, /* 36 54 6 */ |
andrewcrussell | 1:ecf8078bf531 | 665 | 12, /* 37 55 7 */ |
andrewcrussell | 1:ecf8078bf531 | 666 | 13, /* 38 56 8 */ |
andrewcrussell | 1:ecf8078bf531 | 667 | 14, /* 39 57 9 */ |
andrewcrussell | 1:ecf8078bf531 | 668 | 15, /* 3A 58 : */ |
andrewcrussell | 1:ecf8078bf531 | 669 | 16, /* 3B 59 ; */ |
andrewcrussell | 1:ecf8078bf531 | 670 | 17, /* 3C 60 < */ |
andrewcrussell | 1:ecf8078bf531 | 671 | 18, /* 3D 61 = */ |
andrewcrussell | 1:ecf8078bf531 | 672 | 19, /* 3E 62 > */ |
andrewcrussell | 1:ecf8078bf531 | 673 | 20, /* 3F 63 ? */ |
andrewcrussell | 1:ecf8078bf531 | 674 | 21, /* 40 64 @ */ |
andrewcrussell | 1:ecf8078bf531 | 675 | 22, /* 41 65 A */ |
andrewcrussell | 1:ecf8078bf531 | 676 | 23, /* 42 66 B */ |
andrewcrussell | 1:ecf8078bf531 | 677 | 24, /* 43 67 C */ |
andrewcrussell | 1:ecf8078bf531 | 678 | 25, /* 44 68 D */ |
andrewcrussell | 1:ecf8078bf531 | 679 | 26, /* 45 69 E */ |
andrewcrussell | 1:ecf8078bf531 | 680 | 27, /* 46 70 F */ |
andrewcrussell | 1:ecf8078bf531 | 681 | 28, /* 47 71 G */ |
andrewcrussell | 1:ecf8078bf531 | 682 | 29, /* 48 72 H */ |
andrewcrussell | 1:ecf8078bf531 | 683 | 30, /* 49 73 I */ |
andrewcrussell | 1:ecf8078bf531 | 684 | 31, /* 4A 74 J */ |
andrewcrussell | 1:ecf8078bf531 | 685 | 32, /* 4B 75 K */ |
andrewcrussell | 1:ecf8078bf531 | 686 | 33, /* 4C 76 L */ |
andrewcrussell | 1:ecf8078bf531 | 687 | 34, /* 4D 77 M */ |
andrewcrussell | 1:ecf8078bf531 | 688 | 35, /* 4E 78 N */ |
andrewcrussell | 1:ecf8078bf531 | 689 | 36, /* 4F 79 O */ |
andrewcrussell | 1:ecf8078bf531 | 690 | 37, /* 50 80 P */ |
andrewcrussell | 1:ecf8078bf531 | 691 | 38, /* 51 81 Q */ |
andrewcrussell | 1:ecf8078bf531 | 692 | 39, /* 52 82 R */ |
andrewcrussell | 1:ecf8078bf531 | 693 | 40, /* 53 83 S */ |
andrewcrussell | 1:ecf8078bf531 | 694 | 41, /* 54 84 T */ |
andrewcrussell | 1:ecf8078bf531 | 695 | 42, /* 55 85 U */ |
andrewcrussell | 1:ecf8078bf531 | 696 | 43, /* 56 86 V */ |
andrewcrussell | 1:ecf8078bf531 | 697 | 44, /* 57 87 W */ |
andrewcrussell | 1:ecf8078bf531 | 698 | 45, /* 58 88 X */ |
andrewcrussell | 1:ecf8078bf531 | 699 | 46, /* 59 89 Y */ |
andrewcrussell | 1:ecf8078bf531 | 700 | 47, /* 5A 90 Z */ |
andrewcrussell | 1:ecf8078bf531 | 701 | 48, /* 5B 91 [ */ |
andrewcrussell | 1:ecf8078bf531 | 702 | 49, /* 5C 92 \ */ |
andrewcrussell | 1:ecf8078bf531 | 703 | 50, /* 5D 93 ] */ |
andrewcrussell | 1:ecf8078bf531 | 704 | 51, /* 5E 94 ^ */ |
andrewcrussell | 1:ecf8078bf531 | 705 | 52, /* 5F 95 _ */ |
andrewcrussell | 1:ecf8078bf531 | 706 | 53, /* 60 96 ` */ |
andrewcrussell | 1:ecf8078bf531 | 707 | 54, /* 61 97 a */ |
andrewcrussell | 1:ecf8078bf531 | 708 | 55, /* 62 98 b */ |
andrewcrussell | 1:ecf8078bf531 | 709 | 56, /* 63 99 c */ |
andrewcrussell | 1:ecf8078bf531 | 710 | 57, /* 64 100 d */ |
andrewcrussell | 1:ecf8078bf531 | 711 | 58, /* 65 101 e */ |
andrewcrussell | 1:ecf8078bf531 | 712 | 59, /* 66 102 f */ |
andrewcrussell | 1:ecf8078bf531 | 713 | 60, /* 67 103 g */ |
andrewcrussell | 1:ecf8078bf531 | 714 | 61, /* 68 104 h */ |
andrewcrussell | 1:ecf8078bf531 | 715 | 62, /* 69 105 i */ |
andrewcrussell | 1:ecf8078bf531 | 716 | 63, /* 6A 106 j */ |
andrewcrussell | 1:ecf8078bf531 | 717 | 64, /* 6B 107 k */ |
andrewcrussell | 1:ecf8078bf531 | 718 | 65, /* 6C 108 l */ |
andrewcrussell | 1:ecf8078bf531 | 719 | 66, /* 6D 109 m */ |
andrewcrussell | 1:ecf8078bf531 | 720 | 67, /* 6E 110 n */ |
andrewcrussell | 1:ecf8078bf531 | 721 | 68, /* 6F 111 o */ |
andrewcrussell | 1:ecf8078bf531 | 722 | 69, /* 70 112 p */ |
andrewcrussell | 1:ecf8078bf531 | 723 | 70, /* 71 113 q */ |
andrewcrussell | 1:ecf8078bf531 | 724 | 71, /* 72 114 r */ |
andrewcrussell | 1:ecf8078bf531 | 725 | 72, /* 73 115 s */ |
andrewcrussell | 1:ecf8078bf531 | 726 | 73, /* 74 116 t */ |
andrewcrussell | 1:ecf8078bf531 | 727 | 74, /* 75 117 u */ |
andrewcrussell | 1:ecf8078bf531 | 728 | 75, /* 76 118 v */ |
andrewcrussell | 1:ecf8078bf531 | 729 | 76, /* 77 119 w */ |
andrewcrussell | 1:ecf8078bf531 | 730 | 77, /* 78 120 x */ |
andrewcrussell | 1:ecf8078bf531 | 731 | 78, /* 79 121 y */ |
andrewcrussell | 1:ecf8078bf531 | 732 | 79, /* 7A 122 z */ |
andrewcrussell | 1:ecf8078bf531 | 733 | 0, /* 7B 123 { */ |
andrewcrussell | 1:ecf8078bf531 | 734 | 0, /* 7C 124 | */ |
andrewcrussell | 1:ecf8078bf531 | 735 | 0, /* 7D 125 } */ |
andrewcrussell | 1:ecf8078bf531 | 736 | 0, /* 7E 126 ~ */ |
andrewcrussell | 1:ecf8078bf531 | 737 | 0, /* 7F 127 */ |
andrewcrussell | 1:ecf8078bf531 | 738 | 0, /* 80 128 ? */ |
andrewcrussell | 1:ecf8078bf531 | 739 | 0, /* 81 129 � */ |
andrewcrussell | 1:ecf8078bf531 | 740 | 0, /* 82 130 ? */ |
andrewcrussell | 1:ecf8078bf531 | 741 | 0, /* 83 131 ? */ |
andrewcrussell | 1:ecf8078bf531 | 742 | 0, /* 84 132 ? */ |
andrewcrussell | 1:ecf8078bf531 | 743 | 0, /* 85 133 ? */ |
andrewcrussell | 1:ecf8078bf531 | 744 | 0, /* 86 134 ? */ |
andrewcrussell | 1:ecf8078bf531 | 745 | 0, /* 87 135 ? */ |
andrewcrussell | 1:ecf8078bf531 | 746 | 0, /* 88 136 ? */ |
andrewcrussell | 1:ecf8078bf531 | 747 | 0, /* 89 137 ? */ |
andrewcrussell | 1:ecf8078bf531 | 748 | 0, /* 8A 138 ? */ |
andrewcrussell | 1:ecf8078bf531 | 749 | 0, /* 8B 139 ? */ |
andrewcrussell | 1:ecf8078bf531 | 750 | 0, /* 8C 140 ? */ |
andrewcrussell | 1:ecf8078bf531 | 751 | 0, /* 8D 141 � */ |
andrewcrussell | 1:ecf8078bf531 | 752 | 0, /* 8E 142 ? */ |
andrewcrussell | 1:ecf8078bf531 | 753 | 0, /* 8F 143 � */ |
andrewcrussell | 1:ecf8078bf531 | 754 | 0, /* 90 144 � */ |
andrewcrussell | 1:ecf8078bf531 | 755 | 0, /* 91 145 ? */ |
andrewcrussell | 1:ecf8078bf531 | 756 | 0, /* 92 146 ? */ |
andrewcrussell | 1:ecf8078bf531 | 757 | 0, /* 93 147 ? */ |
andrewcrussell | 1:ecf8078bf531 | 758 | 0, /* 94 148 ? */ |
andrewcrussell | 1:ecf8078bf531 | 759 | 0, /* 95 149 ? */ |
andrewcrussell | 1:ecf8078bf531 | 760 | 0, /* 96 150 ? */ |
andrewcrussell | 1:ecf8078bf531 | 761 | 0, /* 97 151 ? */ |
andrewcrussell | 1:ecf8078bf531 | 762 | 0, /* 98 152 ? */ |
andrewcrussell | 1:ecf8078bf531 | 763 | 0, /* 99 153 ? */ |
andrewcrussell | 1:ecf8078bf531 | 764 | 0, /* 9A 154 ? */ |
andrewcrussell | 1:ecf8078bf531 | 765 | 0, /* 9B 155 ? */ |
andrewcrussell | 1:ecf8078bf531 | 766 | 0, /* 9C 156 ? */ |
andrewcrussell | 1:ecf8078bf531 | 767 | 0, /* 9D 157 � */ |
andrewcrussell | 1:ecf8078bf531 | 768 | 0, /* 9E 158 ? */ |
andrewcrussell | 1:ecf8078bf531 | 769 | 0, /* 9F 159 ? */ |
andrewcrussell | 1:ecf8078bf531 | 770 | 0, /* A0 160 � */ |
andrewcrussell | 1:ecf8078bf531 | 771 | 0, /* A1 161 � */ |
andrewcrussell | 1:ecf8078bf531 | 772 | 0, /* A2 162 � */ |
andrewcrussell | 1:ecf8078bf531 | 773 | 0, /* A3 163 � */ |
andrewcrussell | 1:ecf8078bf531 | 774 | 0, /* A4 164 � */ |
andrewcrussell | 1:ecf8078bf531 | 775 | 0, /* A5 165 � */ |
andrewcrussell | 1:ecf8078bf531 | 776 | 0, /* A6 166 � */ |
andrewcrussell | 1:ecf8078bf531 | 777 | 0, /* A7 167 � */ |
andrewcrussell | 1:ecf8078bf531 | 778 | 0, /* A8 168 � */ |
andrewcrussell | 1:ecf8078bf531 | 779 | 0, /* A9 169 � */ |
andrewcrussell | 1:ecf8078bf531 | 780 | 0, /* AA 170 � */ |
andrewcrussell | 1:ecf8078bf531 | 781 | 0, /* AB 171 � */ |
andrewcrussell | 1:ecf8078bf531 | 782 | 0, /* AC 172 � */ |
andrewcrussell | 1:ecf8078bf531 | 783 | 0, /* AD 173 � */ |
andrewcrussell | 1:ecf8078bf531 | 784 | 0, /* AE 174 � */ |
andrewcrussell | 1:ecf8078bf531 | 785 | 0, /* AF 175 � */ |
andrewcrussell | 1:ecf8078bf531 | 786 | 0, /* B0 176 � */ |
andrewcrussell | 1:ecf8078bf531 | 787 | 0, /* B1 177 � */ |
andrewcrussell | 1:ecf8078bf531 | 788 | 0, /* B2 178 � */ |
andrewcrussell | 1:ecf8078bf531 | 789 | 0, /* B3 179 � */ |
andrewcrussell | 1:ecf8078bf531 | 790 | 0, /* B4 180 � */ |
andrewcrussell | 1:ecf8078bf531 | 791 | 0, /* B5 181 � */ |
andrewcrussell | 1:ecf8078bf531 | 792 | 0, /* B6 182 � */ |
andrewcrussell | 1:ecf8078bf531 | 793 | 0, /* B7 183 � */ |
andrewcrussell | 1:ecf8078bf531 | 794 | 0, /* B8 184 � */ |
andrewcrussell | 1:ecf8078bf531 | 795 | 0, /* B9 185 � */ |
andrewcrussell | 1:ecf8078bf531 | 796 | 0, /* BA 186 � */ |
andrewcrussell | 1:ecf8078bf531 | 797 | 0, /* BB 187 � */ |
andrewcrussell | 1:ecf8078bf531 | 798 | 0, /* BC 188 � */ |
andrewcrussell | 1:ecf8078bf531 | 799 | 0, /* BD 189 � */ |
andrewcrussell | 1:ecf8078bf531 | 800 | 0, /* BE 190 � */ |
andrewcrussell | 1:ecf8078bf531 | 801 | 0, /* BF 191 � */ |
andrewcrussell | 1:ecf8078bf531 | 802 | 0, /* C0 192 � */ |
andrewcrussell | 1:ecf8078bf531 | 803 | 0, /* C1 193 � */ |
andrewcrussell | 1:ecf8078bf531 | 804 | 0, /* C2 194 � */ |
andrewcrussell | 1:ecf8078bf531 | 805 | 0, /* C3 195 � */ |
andrewcrussell | 1:ecf8078bf531 | 806 | 0, /* C4 196 � */ |
andrewcrussell | 1:ecf8078bf531 | 807 | 0, /* C5 197 � */ |
andrewcrussell | 1:ecf8078bf531 | 808 | 0, /* C6 198 � */ |
andrewcrussell | 1:ecf8078bf531 | 809 | 0, /* C7 199 � */ |
andrewcrussell | 1:ecf8078bf531 | 810 | 0, /* C8 200 � */ |
andrewcrussell | 1:ecf8078bf531 | 811 | 0, /* C9 201 � */ |
andrewcrussell | 1:ecf8078bf531 | 812 | 0, /* CA 202 � */ |
andrewcrussell | 1:ecf8078bf531 | 813 | 0, /* CB 203 � */ |
andrewcrussell | 1:ecf8078bf531 | 814 | 0, /* CC 204 � */ |
andrewcrussell | 1:ecf8078bf531 | 815 | 0, /* CD 205 � */ |
andrewcrussell | 1:ecf8078bf531 | 816 | 0, /* CE 206 � */ |
andrewcrussell | 1:ecf8078bf531 | 817 | 0, /* CF 207 � */ |
andrewcrussell | 1:ecf8078bf531 | 818 | 0, /* D0 208 � */ |
andrewcrussell | 1:ecf8078bf531 | 819 | 0, /* D1 209 � */ |
andrewcrussell | 1:ecf8078bf531 | 820 | 0, /* D2 210 � */ |
andrewcrussell | 1:ecf8078bf531 | 821 | 0, /* D3 211 � */ |
andrewcrussell | 1:ecf8078bf531 | 822 | 0, /* D4 212 � */ |
andrewcrussell | 1:ecf8078bf531 | 823 | 0, /* D5 213 � */ |
andrewcrussell | 1:ecf8078bf531 | 824 | 0, /* D6 214 � */ |
andrewcrussell | 1:ecf8078bf531 | 825 | 0, /* D7 215 � */ |
andrewcrussell | 1:ecf8078bf531 | 826 | 0, /* D8 216 � */ |
andrewcrussell | 1:ecf8078bf531 | 827 | 0, /* D9 217 � */ |
andrewcrussell | 1:ecf8078bf531 | 828 | 0, /* DA 218 � */ |
andrewcrussell | 1:ecf8078bf531 | 829 | 0, /* DB 219 � */ |
andrewcrussell | 1:ecf8078bf531 | 830 | 0, /* DC 220 � */ |
andrewcrussell | 1:ecf8078bf531 | 831 | 0, /* DD 221 � */ |
andrewcrussell | 1:ecf8078bf531 | 832 | 0, /* DE 222 � */ |
andrewcrussell | 1:ecf8078bf531 | 833 | 0, /* DF 223 � */ |
andrewcrussell | 1:ecf8078bf531 | 834 | 0, /* E0 224 � */ |
andrewcrussell | 1:ecf8078bf531 | 835 | 0, /* E1 225 � */ |
andrewcrussell | 1:ecf8078bf531 | 836 | 0, /* E2 226 � */ |
andrewcrussell | 1:ecf8078bf531 | 837 | 0, /* E3 227 � */ |
andrewcrussell | 1:ecf8078bf531 | 838 | 0, /* E4 228 � */ |
andrewcrussell | 1:ecf8078bf531 | 839 | 0, /* E5 229 � */ |
andrewcrussell | 1:ecf8078bf531 | 840 | 0, /* E6 230 � */ |
andrewcrussell | 1:ecf8078bf531 | 841 | 0, /* E7 231 � */ |
andrewcrussell | 1:ecf8078bf531 | 842 | 0, /* E8 232 � */ |
andrewcrussell | 1:ecf8078bf531 | 843 | 0, /* E9 233 � */ |
andrewcrussell | 1:ecf8078bf531 | 844 | 0, /* EA 234 � */ |
andrewcrussell | 1:ecf8078bf531 | 845 | 0, /* EB 235 � */ |
andrewcrussell | 1:ecf8078bf531 | 846 | 0, /* EC 236 � */ |
andrewcrussell | 1:ecf8078bf531 | 847 | 0, /* ED 237 � */ |
andrewcrussell | 1:ecf8078bf531 | 848 | 0, /* EE 238 � */ |
andrewcrussell | 1:ecf8078bf531 | 849 | 0, /* EF 239 � */ |
andrewcrussell | 1:ecf8078bf531 | 850 | 0, /* F0 240 � */ |
andrewcrussell | 1:ecf8078bf531 | 851 | 0, /* F1 241 � */ |
andrewcrussell | 1:ecf8078bf531 | 852 | 0, /* F2 242 � */ |
andrewcrussell | 1:ecf8078bf531 | 853 | 0, /* F3 243 � */ |
andrewcrussell | 1:ecf8078bf531 | 854 | 0, /* F4 244 � */ |
andrewcrussell | 1:ecf8078bf531 | 855 | 0, /* F5 245 � */ |
andrewcrussell | 1:ecf8078bf531 | 856 | 0, /* F6 246 � */ |
andrewcrussell | 1:ecf8078bf531 | 857 | 0, /* F7 247 � */ |
andrewcrussell | 1:ecf8078bf531 | 858 | 0, /* F8 248 � */ |
andrewcrussell | 1:ecf8078bf531 | 859 | 0, /* F9 249 � */ |
andrewcrussell | 1:ecf8078bf531 | 860 | 0, /* FA 250 � */ |
andrewcrussell | 1:ecf8078bf531 | 861 | 0, /* FB 251 � */ |
andrewcrussell | 1:ecf8078bf531 | 862 | 0, /* FC 252 � */ |
andrewcrussell | 1:ecf8078bf531 | 863 | 0, /* FD 253 � */ |
andrewcrussell | 1:ecf8078bf531 | 864 | 0, /* FE 254 � */ |
andrewcrussell | 1:ecf8078bf531 | 865 | 0, /* FF 255 � */ |
andrewcrussell | 1:ecf8078bf531 | 866 | }; |
andrewcrussell | 1:ecf8078bf531 | 867 | |
andrewcrussell | 1:ecf8078bf531 | 868 | /******************************************************************************************* |
andrewcrussell | 1:ecf8078bf531 | 869 | Width table provides the width of each character. It's useful for proportional font only. |
andrewcrussell | 1:ecf8078bf531 | 870 | For monospaced font, the width of each character is the same. |
andrewcrussell | 1:ecf8078bf531 | 871 | |
andrewcrussell | 1:ecf8078bf531 | 872 | To get the width of character 'A', you can use the following expression: |
andrewcrussell | 1:ecf8078bf531 | 873 | |
andrewcrussell | 1:ecf8078bf531 | 874 | const unsigned char index = index_table['A']; |
andrewcrussell | 1:ecf8078bf531 | 875 | const unsigned char width = width_table[index]; |
andrewcrussell | 1:ecf8078bf531 | 876 | |
andrewcrussell | 1:ecf8078bf531 | 877 | *******************************************************************************************/ |
andrewcrussell | 1:ecf8078bf531 | 878 | |
andrewcrussell | 1:ecf8078bf531 | 879 | const unsigned char c14_width_table[] = { |
andrewcrussell | 1:ecf8078bf531 | 880 | /* width char hexcode */ |
andrewcrussell | 1:ecf8078bf531 | 881 | /* ===== ==== ======= */ |
andrewcrussell | 1:ecf8078bf531 | 882 | 9, /* + 2B */ |
andrewcrussell | 1:ecf8078bf531 | 883 | 5, /* , 2C */ |
andrewcrussell | 1:ecf8078bf531 | 884 | 6, /* - 2D */ |
andrewcrussell | 1:ecf8078bf531 | 885 | 5, /* . 2E */ |
andrewcrussell | 1:ecf8078bf531 | 886 | 8, /* / 2F */ |
andrewcrussell | 1:ecf8078bf531 | 887 | 10, /* 0 30 */ |
andrewcrussell | 1:ecf8078bf531 | 888 | 10, /* 1 31 */ |
andrewcrussell | 1:ecf8078bf531 | 889 | 10, /* 2 32 */ |
andrewcrussell | 1:ecf8078bf531 | 890 | 10, /* 3 33 */ |
andrewcrussell | 1:ecf8078bf531 | 891 | 10, /* 4 34 */ |
andrewcrussell | 1:ecf8078bf531 | 892 | 10, /* 5 35 */ |
andrewcrussell | 1:ecf8078bf531 | 893 | 10, /* 6 36 */ |
andrewcrussell | 1:ecf8078bf531 | 894 | 10, /* 7 37 */ |
andrewcrussell | 1:ecf8078bf531 | 895 | 10, /* 8 38 */ |
andrewcrussell | 1:ecf8078bf531 | 896 | 10, /* 9 39 */ |
andrewcrussell | 1:ecf8078bf531 | 897 | 5, /* : 3A */ |
andrewcrussell | 1:ecf8078bf531 | 898 | 5, /* ; 3B */ |
andrewcrussell | 1:ecf8078bf531 | 899 | 9, /* < 3C */ |
andrewcrussell | 1:ecf8078bf531 | 900 | 9, /* = 3D */ |
andrewcrussell | 1:ecf8078bf531 | 901 | 9, /* > 3E */ |
andrewcrussell | 1:ecf8078bf531 | 902 | 9, /* ? 3F */ |
andrewcrussell | 1:ecf8078bf531 | 903 | 17, /* @ 40 */ |
andrewcrussell | 1:ecf8078bf531 | 904 | 12, /* A 41 */ |
andrewcrussell | 1:ecf8078bf531 | 905 | 11, /* B 42 */ |
andrewcrussell | 1:ecf8078bf531 | 906 | 10, /* C 43 */ |
andrewcrussell | 1:ecf8078bf531 | 907 | 12, /* D 44 */ |
andrewcrussell | 1:ecf8078bf531 | 908 | 9, /* E 45 */ |
andrewcrussell | 1:ecf8078bf531 | 909 | 9, /* F 46 */ |
andrewcrussell | 1:ecf8078bf531 | 910 | 12, /* G 47 */ |
andrewcrussell | 1:ecf8078bf531 | 911 | 12, /* H 48 */ |
andrewcrussell | 1:ecf8078bf531 | 912 | 5, /* I 49 */ |
andrewcrussell | 1:ecf8078bf531 | 913 | 6, /* J 4A */ |
andrewcrussell | 1:ecf8078bf531 | 914 | 10, /* K 4B */ |
andrewcrussell | 1:ecf8078bf531 | 915 | 8, /* L 4C */ |
andrewcrussell | 1:ecf8078bf531 | 916 | 17, /* M 4D */ |
andrewcrussell | 1:ecf8078bf531 | 917 | 13, /* N 4E */ |
andrewcrussell | 1:ecf8078bf531 | 918 | 13, /* O 4F */ |
andrewcrussell | 1:ecf8078bf531 | 919 | 10, /* P 50 */ |
andrewcrussell | 1:ecf8078bf531 | 920 | 14, /* Q 51 */ |
andrewcrussell | 1:ecf8078bf531 | 921 | 11, /* R 52 */ |
andrewcrussell | 1:ecf8078bf531 | 922 | 9, /* S 53 */ |
andrewcrussell | 1:ecf8078bf531 | 923 | 10, /* T 54 */ |
andrewcrussell | 1:ecf8078bf531 | 924 | 12, /* U 55 */ |
andrewcrussell | 1:ecf8078bf531 | 925 | 11, /* V 56 */ |
andrewcrussell | 1:ecf8078bf531 | 926 | 17, /* W 57 */ |
andrewcrussell | 1:ecf8078bf531 | 927 | 10, /* X 58 */ |
andrewcrussell | 1:ecf8078bf531 | 928 | 10, /* Y 59 */ |
andrewcrussell | 1:ecf8078bf531 | 929 | 9, /* Z 5A */ |
andrewcrussell | 1:ecf8078bf531 | 930 | 6, /* [ 5B */ |
andrewcrussell | 1:ecf8078bf531 | 931 | 8, /* \ 5C */ |
andrewcrussell | 1:ecf8078bf531 | 932 | 6, /* ] 5D */ |
andrewcrussell | 1:ecf8078bf531 | 933 | 9, /* ^ 5E */ |
andrewcrussell | 1:ecf8078bf531 | 934 | 10, /* _ 5F */ |
andrewcrussell | 1:ecf8078bf531 | 935 | 6, /* ` 60 */ |
andrewcrussell | 1:ecf8078bf531 | 936 | 9, /* a 61 */ |
andrewcrussell | 1:ecf8078bf531 | 937 | 10, /* b 62 */ |
andrewcrussell | 1:ecf8078bf531 | 938 | 8, /* c 63 */ |
andrewcrussell | 1:ecf8078bf531 | 939 | 10, /* d 64 */ |
andrewcrussell | 1:ecf8078bf531 | 940 | 10, /* e 65 */ |
andrewcrussell | 1:ecf8078bf531 | 941 | 7, /* f 66 */ |
andrewcrussell | 1:ecf8078bf531 | 942 | 9, /* g 67 */ |
andrewcrussell | 1:ecf8078bf531 | 943 | 10, /* h 68 */ |
andrewcrussell | 1:ecf8078bf531 | 944 | 5, /* i 69 */ |
andrewcrussell | 1:ecf8078bf531 | 945 | 7, /* j 6A */ |
andrewcrussell | 1:ecf8078bf531 | 946 | 9, /* k 6B */ |
andrewcrussell | 1:ecf8078bf531 | 947 | 5, /* l 6C */ |
andrewcrussell | 1:ecf8078bf531 | 948 | 15, /* m 6D */ |
andrewcrussell | 1:ecf8078bf531 | 949 | 10, /* n 6E */ |
andrewcrussell | 1:ecf8078bf531 | 950 | 10, /* o 6F */ |
andrewcrussell | 1:ecf8078bf531 | 951 | 10, /* p 70 */ |
andrewcrussell | 1:ecf8078bf531 | 952 | 10, /* q 71 */ |
andrewcrussell | 1:ecf8078bf531 | 953 | 7, /* r 72 */ |
andrewcrussell | 1:ecf8078bf531 | 954 | 8, /* s 73 */ |
andrewcrussell | 1:ecf8078bf531 | 955 | 7, /* t 74 */ |
andrewcrussell | 1:ecf8078bf531 | 956 | 10, /* u 75 */ |
andrewcrussell | 1:ecf8078bf531 | 957 | 9, /* v 76 */ |
andrewcrussell | 1:ecf8078bf531 | 958 | 14, /* w 77 */ |
andrewcrussell | 1:ecf8078bf531 | 959 | 9, /* x 78 */ |
andrewcrussell | 1:ecf8078bf531 | 960 | 9, /* y 79 */ |
andrewcrussell | 1:ecf8078bf531 | 961 | 8, /* z 7A */ |
andrewcrussell | 1:ecf8078bf531 | 962 | }; |