Kaleidoscope
LED-AlphaSquare-3x4.h
Go to the documentation of this file.
1 /* Kaleidoscope-LED-AlphaSquare -- 3x4 pixel LED alphabet
2  * Copyright (C) 2017 Gergely Nagy
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 
19 #pragma once
20 
21 #ifndef KALEIDOSCOPE_LED_FONT
22 #define KALEIDOSCOPE_LED_FONT
23 
24 #define ALPHASQUARE_SYMBOL_A SYM4x4(0, 1, 0, 0, \
25  1, 0, 1, 0, \
26  1, 1, 1, 0, \
27  1, 0, 1, 0)
28 #define ALPHASQUARE_SYMBOL_B SYM4x4(1, 1, 0, 0, \
29  1, 1, 1, 0, \
30  1, 0, 1, 0, \
31  1, 1, 0, 0)
32 #define ALPHASQUARE_SYMBOL_C SYM4x4(0, 1, 1, 0, \
33  1, 0, 0, 0, \
34  1, 0, 0, 0, \
35  0, 1, 1, 0)
36 #define ALPHASQUARE_SYMBOL_D SYM4x4(1, 1, 0, 0, \
37  1, 0, 1, 0, \
38  1, 0, 1, 0, \
39  1, 1, 0, 0)
40 #define ALPHASQUARE_SYMBOL_E SYM4x4(1, 1, 1, 0, \
41  1, 1, 0, 0, \
42  1, 0, 0, 0, \
43  1, 1, 1, 0)
44 #define ALPHASQUARE_SYMBOL_F SYM4x4(1, 1, 1, 0, \
45  1, 0, 0, 0, \
46  1, 1, 0, 0, \
47  1, 0, 0, 0)
48 #define ALPHASQUARE_SYMBOL_G SYM4x4(0, 1, 1, 0, \
49  1, 0, 0, 0, \
50  1, 0, 1, 0, \
51  0, 1, 1, 0)
52 #define ALPHASQUARE_SYMBOL_H SYM4x4(1, 0, 1, 0, \
53  1, 1, 1, 0, \
54  1, 0, 1, 0, \
55  1, 0, 1, 0)
56 #define ALPHASQUARE_SYMBOL_I SYM4x4(1, 1, 1, 0, \
57  0, 1, 0, 0, \
58  0, 1, 0, 0, \
59  1, 1, 1, 0)
60 #define ALPHASQUARE_SYMBOL_J SYM4x4(1, 1, 1, 0, \
61  0, 0, 1, 0, \
62  1, 0, 1, 0, \
63  0, 1, 0, 0)
64 #define ALPHASQUARE_SYMBOL_K SYM4x4(1, 0, 1, 0, \
65  1, 1, 0, 0, \
66  1, 1, 0, 0, \
67  1, 0, 1, 0)
68 #define ALPHASQUARE_SYMBOL_L SYM4x4(1, 0, 0, 0, \
69  1, 0, 0, 0, \
70  1, 0, 0, 0, \
71  1, 1, 1, 0)
72 #define ALPHASQUARE_SYMBOL_M SYM4x4(1, 0, 1, 0, \
73  1, 1, 1, 0, \
74  1, 1, 1, 0, \
75  1, 0, 1, 0)
76 #define ALPHASQUARE_SYMBOL_N SYM4x4(1, 0, 1, 0, \
77  1, 1, 1, 0, \
78  1, 0, 1, 0, \
79  1, 0, 1, 0)
80 #define ALPHASQUARE_SYMBOL_O SYM4x4(0, 1, 0, 0, \
81  1, 0, 1, 0, \
82  1, 0, 1, 0, \
83  0, 1, 0, 0)
84 #define ALPHASQUARE_SYMBOL_P SYM4x4(1, 1, 0, 0, \
85  1, 0, 1, 0, \
86  1, 1, 0, 0, \
87  1, 0, 0, 0)
88 #define ALPHASQUARE_SYMBOL_Q SYM4x4(0, 1, 0, 0, \
89  1, 0, 1, 0, \
90  1, 0, 1, 0, \
91  0, 1, 1, 0)
92 #define ALPHASQUARE_SYMBOL_R SYM4x4(1, 1, 0, 0, \
93  1, 0, 1, 0, \
94  1, 1, 0, 0, \
95  1, 0, 1, 0)
96 #define ALPHASQUARE_SYMBOL_S SYM4x4(1, 1, 1, 0, \
97  1, 1, 0, 0, \
98  0, 0, 1, 0, \
99  1, 1, 1, 0)
100 #define ALPHASQUARE_SYMBOL_T SYM4x4(1, 1, 1, 0, \
101  0, 1, 0, 0, \
102  0, 1, 0, 0, \
103  0, 1, 0, 0)
104 #define ALPHASQUARE_SYMBOL_U SYM4x4(1, 0, 1, 0, \
105  1, 0, 1, 0, \
106  1, 0, 1, 0, \
107  1, 1, 1, 0)
108 #define ALPHASQUARE_SYMBOL_V SYM4x4(1, 0, 1, 0, \
109  1, 0, 1, 0, \
110  1, 0, 1, 0, \
111  0, 1, 0, 0)
112 #define ALPHASQUARE_SYMBOL_W SYM4x4(1, 0, 0, 0, \
113  1, 0, 1, 0, \
114  1, 1, 1, 0, \
115  1, 0, 1, 0)
116 #define ALPHASQUARE_SYMBOL_X SYM4x4(1, 0, 1, 0, \
117  0, 1, 0, 0, \
118  0, 1, 0, 0, \
119  1, 0, 1, 0)
120 #define ALPHASQUARE_SYMBOL_Y SYM4x4(1, 0, 1, 0, \
121  0, 1, 0, 0, \
122  0, 1, 0, 0, \
123  0, 1, 0, 0)
124 #define ALPHASQUARE_SYMBOL_Z SYM4x4(1, 1, 1, 0, \
125  0, 0, 1, 0, \
126  0, 1, 0, 0, \
127  1, 1, 1, 0)
128 // ---------------------
129 #define ALPHASQUARE_SYMBOL_1 SYM4x4(1, 1, 0, 0, \
130  0, 1, 0, 0, \
131  0, 1, 0, 0, \
132  1, 1, 1, 0)
133 #define ALPHASQUARE_SYMBOL_2 SYM4x4(1, 1, 0, 0, \
134  0, 0, 1, 0, \
135  0, 1, 0, 0, \
136  1, 1, 1, 0)
137 #define ALPHASQUARE_SYMBOL_3 SYM4x4(1, 1, 1, 0, \
138  0, 1, 1, 0, \
139  0, 0, 1, 0, \
140  1, 1, 1, 0)
141 #define ALPHASQUARE_SYMBOL_4 SYM4x4(1, 0, 1, 0, \
142  1, 1, 1, 0, \
143  0, 0, 1, 0, \
144  0, 0, 1, 0)
145 #define ALPHASQUARE_SYMBOL_5 SYM4x4(1, 1, 1, 0, \
146  1, 1, 0, 0, \
147  0, 0, 1, 0, \
148  1, 1, 1, 0)
149 #define ALPHASQUARE_SYMBOL_6 SYM4x4(0, 1, 1, 0, \
150  1, 0, 0, 0, \
151  1, 1, 1, 0, \
152  0, 1, 1, 0)
153 #define ALPHASQUARE_SYMBOL_7 SYM4x4(1, 1, 1, 0, \
154  0, 0, 1, 0, \
155  0, 0, 1, 0, \
156  0, 0, 1, 0)
157 #define ALPHASQUARE_SYMBOL_8 SYM4x4(1, 1, 1, 0, \
158  1, 1, 1, 0, \
159  1, 0, 1, 0, \
160  1, 1, 1, 0)
161 #define ALPHASQUARE_SYMBOL_9 SYM4x4(1, 1, 1, 0, \
162  1, 0, 1, 0, \
163  1, 1, 1, 0, \
164  0, 0, 1, 0)
165 #define ALPHASQUARE_SYMBOL_0 SYM4x4(1, 1, 1, 0, \
166  1, 0, 1, 0, \
167  1, 0, 1, 0, \
168  1, 1, 1, 0)
169 
170 #endif