Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
730 | woggle | 1 | /***************************************************************************** |
2 | * Copyright (C) 2009 Peter "woggle" Mack, mac@denich.net * |
||
3 | * - font provided by Claas Anders "CaScAdE" Rathje * |
||
4 | * - umlauts and special characters by Peter "woggle" Mack * |
||
5 | * * |
||
6 | * This program is free software; you can redistribute it and/or modify * |
||
7 | * it under the terms of the GNU General Public License as published by * |
||
8 | * the Free Software Foundation; either version 2 of the License. * |
||
9 | * * |
||
10 | * This program is distributed in the hope that it will be useful, * |
||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||
13 | * GNU General Public License for more details. * |
||
14 | * * |
||
15 | * You should have received a copy of the GNU General Public License * |
||
16 | * along with this program; if not, write to the * |
||
17 | * Free Software Foundation, Inc., * |
||
18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||
19 | * * |
||
20 | *****************************************************************************/ |
||
21 | |||
22 | #include <avr/pgmspace.h> |
||
23 | |||
24 | // one byte is a column |
||
25 | // bit 7 is the bottom |
||
26 | |||
27 | prog_uint8_t font8x6[128][6] = |
||
28 | { |
||
29 | { 0x78,0x15,0x14,0x15,0x78,0x00 }, // ASCII - 0 'Ä' |
||
30 | { 0x20,0x55,0x54,0x55,0x78,0x00 }, // ASCII - 1 'ä' |
||
31 | { 0x38,0x45,0x44,0x45,0x38,0x00 }, // ASCII - 2 'Ö' |
||
32 | { 0x30,0x49,0x48,0x49,0x30,0x00 }, // ASCII - 3 'ö' |
||
33 | { 0x3c,0x41,0x40,0x41,0x3c,0x00 }, // ASCII - 4 'Ü' |
||
34 | { 0x38,0x41,0x40,0x21,0x78,0x00 }, // ASCII - 5 'ü' |
||
35 | { 0x7e,0x15,0x15,0x15,0x0a,0x00 }, // ASCII - 6 'ß' |
||
36 | { 0x00,0x00,0x00,0x00,0x00,0x00 }, // ASCII - 7 |
||
37 | { 0x00,0x00,0x00,0x00,0x00,0x00 }, // ASCII - 8 |
||
38 | { 0x00,0x00,0x00,0x00,0x00,0x00 }, // ASCII - 9 |
||
39 | { 0x00,0x00,0x00,0x00,0x00,0x00 }, // ASCII - 10 A (not useable) |
||
40 | { 0x00,0x00,0x00,0x00,0x00,0x00 }, // ASCII - 11 B |
||
41 | { 0x10,0x38,0x54,0x10,0x10,0x1e }, // ASCII - 12 C Enter Symbol |
||
42 | { 0x00,0x00,0x00,0x00,0x00,0x00 }, // ASCII - 13 D (not useable) |
||
43 | { 0x10,0x10,0x10,0x10,0x10,0x10 }, // ASCII - 14 E hor. line |
||
44 | { 0x10,0x10,0x10,0x7c,0x10,0x10 }, // ASCII - 15 F hor. line with tick mark |
||
45 | { 0x00,0x00,0x00,0x00,0x00,0x00 }, // ASCII - 16 10 |
||
46 | { 0x00,0x00,0x00,0x00,0x00,0x00 }, // ASCII - 17 11 |
||
47 | { 0x00,0x00,0x00,0x00,0x00,0x00 }, // ASCII - 18 12 |
||
48 | { 0x00,0x00,0x00,0x00,0x00,0x00 }, // ASCII - 19 13 |
||
49 | { 0x00,0x00,0x00,0x00,0x00,0x00 }, // ASCII - 20 14 |
||
50 | { 0x00,0x00,0x00,0x00,0x00,0x00 }, // ASCII - 21 15 |
||
51 | { 0x04,0x02,0x7f,0x02,0x04,0x00 }, // ASCII - 22 16 Arrow up |
||
52 | { 0x10,0x20,0x7f,0x20,0x10,0x00 }, // ASCII - 23 17 Arrow down |
||
53 | { 0x10,0x38,0x54,0x10,0x10,0x10 }, // ASCII - 24 18 <- |
||
54 | { 0x10,0x10,0x10,0x54,0x38,0x10 }, // ASCII - 25 19 -> |
||
55 | { 0x10,0x18,0x1c,0x1c,0x18,0x10 }, // ASCII - 26 1A ^ |
||
56 | { 0x08,0x18,0x38,0x38,0x18,0x08 }, // ASCII - 27 1B v |
||
57 | { 0x00,0x08,0x1c,0x3e,0x7f,0x00 }, // ASCII - 28 1C < |
||
58 | { 0x00,0x7f,0x3e,0x1c,0x08,0x00 }, // ASCII - 29 1D > |
||
59 | { 0x06,0x09,0x09,0x09,0x06,0x00 }, // ASCII - 30 1E '°' |
||
60 | { 0x06,0x49,0x7d,0x49,0x06,0x00 }, // ASCII - 31 1F RC-Tx |
||
61 | |||
62 | { 0x00,0x00,0x00,0x00,0x00,0x00 }, // ASCII - 32 20 ' ' |
||
63 | { 0x00,0x00,0x2f,0x00,0x00,0x00 }, // ASCII - 33 21 '!' |
||
64 | { 0x00,0x07,0x00,0x07,0x00,0x00 }, // ASCII - 34 22 '"' |
||
65 | { 0x14,0x7f,0x14,0x7f,0x14,0x00 }, // ASCII - 35 23 '#' |
||
66 | { 0x24,0x2a,0x6b,0x2a,0x12,0x00 }, // ASCII - 36 24 '$' |
||
67 | { 0x23,0x13,0x08,0x64,0x62,0x00 }, // ASCII - 37 25 '%' |
||
68 | { 0x36,0x49,0x55,0x22,0x50,0x00 }, // ASCII - 38 26 '&' |
||
69 | { 0x00,0x05,0x03,0x00,0x00,0x00 }, // ASCII - 39 27 ''' |
||
70 | { 0x00,0x1c,0x22,0x41,0x00,0x00 }, // ASCII - 40 28 '(' |
||
71 | { 0x00,0x41,0x22,0x1c,0x00,0x00 }, // ASCII - 41 29 ')' |
||
72 | { 0x14,0x08,0x3e,0x08,0x14,0x00 }, // ASCII - 42 2a '*' |
||
73 | { 0x08,0x08,0x3e,0x08,0x08,0x00 }, // ASCII - 43 2b '+' |
||
74 | { 0x00,0x50,0x30,0x00,0x00,0x00 }, // ASCII - 44 2c ',' |
||
75 | { 0x08,0x08,0x08,0x08,0x08,0x00 }, // ASCII - 45 2d '-' |
||
76 | { 0x00,0x60,0x60,0x00,0x00,0x00 }, // ASCII - 46 2e '.' |
||
77 | { 0x20,0x10,0x08,0x04,0x02,0x00 }, // ASCII - 47 2f '/' |
||
78 | { 0x3e,0x51,0x49,0x45,0x3e,0x00 }, // ASCII - 48 30 '0' |
||
79 | { 0x00,0x42,0x7f,0x40,0x00,0x00 }, // ASCII - 49 31 '1' |
||
80 | { 0x42,0x61,0x51,0x49,0x46,0x00 }, // ASCII - 50 32 '2' |
||
81 | { 0x21,0x41,0x45,0x4b,0x31,0x00 }, // ASCII - 51 33 '3' |
||
82 | { 0x18,0x14,0x12,0x7f,0x10,0x00 }, // ASCII - 52 34 '4' |
||
83 | { 0x27,0x45,0x45,0x45,0x39,0x00 }, // ASCII - 53 35 '5' |
||
84 | { 0x3c,0x4a,0x49,0x49,0x30,0x00 }, // ASCII - 54 36 '6' |
||
85 | { 0x03,0x01,0x71,0x09,0x07,0x00 }, // ASCII - 55 37 '7' |
||
86 | { 0x36,0x49,0x49,0x49,0x36,0x00 }, // ASCII - 56 38 '8' |
||
87 | { 0x06,0x49,0x49,0x29,0x1e,0x00 }, // ASCII - 57 39 '9' |
||
88 | { 0x00,0x36,0x36,0x00,0x00,0x00 }, // ASCII - 58 3a ':' |
||
89 | { 0x00,0x56,0x36,0x00,0x00,0x00 }, // ASCII - 59 3b ';' |
||
90 | { 0x08,0x14,0x22,0x41,0x00,0x00 }, // ASCII - 60 3c '<' |
||
91 | { 0x14,0x14,0x14,0x14,0x14,0x00 }, // ASCII - 61 3d '=' |
||
92 | { 0x00,0x41,0x22,0x14,0x08,0x00 }, // ASCII - 62 3e '>' |
||
93 | { 0x02,0x01,0x51,0x09,0x06,0x00 }, // ASCII - 63 3f '?' |
||
94 | { 0x32,0x49,0x79,0x41,0x3e,0x00 }, // ASCII - 64 40 '@' |
||
95 | { 0x7e,0x11,0x11,0x11,0x7e,0x00 }, // ASCII - 65 41 'A' |
||
96 | { 0x7f,0x49,0x49,0x49,0x36,0x00 }, // ASCII - 66 42 'B' |
||
97 | { 0x3e,0x41,0x41,0x41,0x22,0x00 }, // ASCII - 67 43 'C' |
||
98 | { 0x7f,0x41,0x41,0x22,0x1c,0x00 }, // ASCII - 68 44 'D' |
||
99 | { 0x7f,0x49,0x49,0x49,0x41,0x00 }, // ASCII - 69 45 'E' |
||
100 | { 0x7f,0x09,0x09,0x09,0x01,0x00 }, // ASCII - 70 46 'F' |
||
101 | { 0x3e,0x41,0x49,0x49,0x7a,0x00 }, // ASCII - 71 47 'G' |
||
102 | { 0x7f,0x08,0x08,0x08,0x7f,0x00 }, // ASCII - 72 48 'H' |
||
103 | { 0x00,0x41,0x7f,0x41,0x00,0x00 }, // ASCII - 73 49 'I' |
||
104 | { 0x20,0x40,0x41,0x3f,0x01,0x00 }, // ASCII - 74 4a 'J' |
||
105 | { 0x7f,0x08,0x14,0x22,0x41,0x00 }, // ASCII - 75 4b 'K' |
||
106 | { 0x7f,0x40,0x40,0x40,0x40,0x00 }, // ASCII - 76 4c 'L' |
||
107 | { 0x7f,0x02,0x0c,0x02,0x7f,0x00 }, // ASCII - 77 4d 'M' |
||
108 | { 0x7f,0x04,0x08,0x10,0x7f,0x00 }, // ASCII - 78 4e 'N' |
||
109 | { 0x3e,0x41,0x41,0x41,0x3e,0x00 }, // ASCII - 79 4f 'O' |
||
110 | { 0x7f,0x09,0x09,0x09,0x06,0x00 }, // ASCII - 80 50 'P' |
||
111 | { 0x3e,0x41,0x51,0x21,0x5e,0x00 }, // ASCII - 81 51 'Q' |
||
112 | { 0x7f,0x09,0x19,0x29,0x46,0x00 }, // ASCII - 82 52 'R' |
||
113 | { 0x46,0x49,0x49,0x49,0x31,0x00 }, // ASCII - 83 53 'S' |
||
114 | { 0x01,0x01,0x7f,0x01,0x01,0x00 }, // ASCII - 84 54 'T' |
||
115 | { 0x3f,0x40,0x40,0x40,0x3f,0x00 }, // ASCII - 85 55 'U' |
||
116 | { 0x1f,0x20,0x40,0x20,0x1f,0x00 }, // ASCII - 86 56 'V' |
||
117 | { 0x3f,0x40,0x38,0x40,0x3f,0x00 }, // ASCII - 87 57 'W' |
||
118 | { 0x63,0x14,0x08,0x14,0x63,0x00 }, // ASCII - 88 58 'X' |
||
119 | { 0x07,0x08,0x70,0x08,0x07,0x00 }, // ASCII - 89 59 'Y' |
||
120 | { 0x61,0x51,0x49,0x45,0x43,0x00 }, // ASCII - 90 5a 'Z' |
||
121 | { 0x7f,0x41,0x41,0x00,0x00,0x00 }, // ASCII - 91 5b '[' |
||
122 | { 0x02,0x04,0x08,0x10,0x20,0x00 }, // ASCII - 92 5c '\' |
||
123 | { 0x00,0x41,0x41,0x7f,0x00,0x00 }, // ASCII - 93 5d ']' |
||
124 | { 0x04,0x02,0x01,0x02,0x04,0x00 }, // ASCII - 94 5e '^' |
||
125 | { 0x40,0x40,0x40,0x40,0x40,0x00 }, // ASCII - 95 5f '_' |
||
126 | { 0x00,0x01,0x02,0x04,0x00,0x00 }, // ASCII - 96 60 '`' |
||
127 | { 0x20,0x54,0x54,0x54,0x78,0x00 }, // ASCII - 97 61 'a' |
||
128 | { 0x7f,0x48,0x44,0x44,0x38,0x00 }, // ASCII - 98 62 'b' |
||
129 | { 0x38,0x44,0x44,0x44,0x20,0x00 }, // ASCII - 99 63 'c' |
||
130 | { 0x38,0x44,0x44,0x48,0x7f,0x00 }, // ASCII - 100 64 'd' |
||
131 | { 0x38,0x54,0x54,0x54,0x18,0x00 }, // ASCII - 101 65 'e' |
||
132 | { 0x08,0x7e,0x09,0x01,0x02,0x00 }, // ASCII - 102 66 'f' |
||
133 | { 0x0c,0x52,0x52,0x52,0x3e,0x00 }, // ASCII - 103 67 'g' |
||
134 | { 0x7f,0x08,0x04,0x04,0x78,0x00 }, // ASCII - 104 68 'h' |
||
135 | { 0x00,0x44,0x7d,0x40,0x00,0x00 }, // ASCII - 105 69 'i' |
||
136 | { 0x20,0x40,0x44,0x3d,0x00,0x00 }, // ASCII - 106 6a 'j' |
||
137 | { 0x7f,0x10,0x28,0x44,0x00,0x00 }, // ASCII - 107 6b 'k' |
||
138 | { 0x00,0x41,0x7f,0x40,0x00,0x00 }, // ASCII - 108 6c 'l' |
||
139 | { 0x7c,0x04,0x18,0x04,0x78,0x00 }, // ASCII - 109 6d 'm' |
||
140 | { 0x7c,0x08,0x04,0x04,0x78,0x00 }, // ASCII - 110 6e 'n' |
||
141 | { 0x38,0x44,0x44,0x44,0x38,0x00 }, // ASCII - 111 6f 'o' |
||
142 | { 0x7c,0x14,0x14,0x14,0x08,0x00 }, // ASCII - 112 70 'p' |
||
143 | { 0x08,0x14,0x14,0x18,0x7c,0x00 }, // ASCII - 113 71 'q' |
||
144 | { 0x7c,0x08,0x04,0x04,0x08,0x00 }, // ASCII - 114 72 'r' |
||
145 | { 0x48,0x54,0x54,0x54,0x20,0x00 }, // ASCII - 115 73 's' |
||
146 | { 0x04,0x3f,0x44,0x40,0x20,0x00 }, // ASCII - 116 74 't' |
||
147 | { 0x3c,0x40,0x40,0x20,0x7c,0x00 }, // ASCII - 117 75 'u' |
||
148 | { 0x1c,0x20,0x40,0x20,0x1c,0x00 }, // ASCII - 118 76 'v' |
||
149 | { 0x3c,0x40,0x38,0x40,0x3c,0x00 }, // ASCII - 119 77 'w' |
||
150 | { 0x44,0x28,0x10,0x28,0x44,0x00 }, // ASCII - 120 78 'x' |
||
151 | { 0x0c,0x50,0x50,0x50,0x3c,0x00 }, // ASCII - 121 79 'y' |
||
152 | { 0x44,0x64,0x54,0x4c,0x44,0x00 }, // ASCII - 122 7a 'z' |
||
153 | { 0x00,0x08,0x36,0x41,0x00,0x00 }, // ASCII - 123 7b '{' |
||
154 | { 0x00,0x00,0x7f,0x00,0x00,0x00 }, // ASCII - 124 7c '|' |
||
155 | { 0x00,0x41,0x36,0x08,0x00,0x00 }, // ASCII - 125 7d '}' |
||
156 | { 0x08,0x08,0x2a,0x1c,0x08,0x00 }, // ASCII - 126 7e -> |
||
157 | { 0x08,0x1c,0x2a,0x08,0x08,0x00 }, // ASCII - 127 7f <- |
||
158 | }; |