Kaleidoscope
LED-AlphaSquare-4x4.h
Go to the documentation of this file.
1 /* Kaleidoscope-LED-AlphaSquare -- 4x4 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 #pragma once
19 
20 #ifndef KALEIDOSCOPE_LED_FONT
21 #define KALEIDOSCOPE_LED_FONT
22 
23 #define ALPHASQUARE_SYMBOL_A SYM4x4(1, 1, 1, 1, \
24  1, 0, 0, 1, \
25  1, 1, 1, 1, \
26  1, 0, 0, 1)
27 #define ALPHASQUARE_SYMBOL_B SYM4x4(1, 1, 1, 1, \
28  1, 0, 1, 1, \
29  1, 1, 0, 1, \
30  1, 1, 1, 1)
31 #define ALPHASQUARE_SYMBOL_C SYM4x4(1, 1, 1, 1, \
32  1, 0, 0, 0, \
33  1, 0, 0, 0, \
34  1, 1, 1, 1)
35 #define ALPHASQUARE_SYMBOL_D SYM4x4(1, 1, 1, 0, \
36  1, 0, 0, 1, \
37  1, 0, 0, 1, \
38  1, 1, 1, 0)
39 #define ALPHASQUARE_SYMBOL_E SYM4x4(1, 1, 1, 1, \
40  1, 1, 0, 0, \
41  1, 0, 0, 0, \
42  1, 1, 1, 1)
43 #define ALPHASQUARE_SYMBOL_F SYM4x4(1, 1, 1, 1, \
44  1, 0, 0, 0, \
45  1, 1, 1, 0, \
46  1, 0, 0, 0)
47 #define ALPHASQUARE_SYMBOL_G SYM4x4(1, 1, 1, 0, \
48  1, 0, 0, 0, \
49  1, 0, 0, 1, \
50  1, 1, 1, 1)
51 #define ALPHASQUARE_SYMBOL_H SYM4x4(1, 0, 0, 1, \
52  1, 1, 1, 1, \
53  1, 0, 0, 1, \
54  1, 0, 0, 1)
55 #define ALPHASQUARE_SYMBOL_I SYM4x4(1, 1, 1, 1, \
56  0, 1, 1, 0, \
57  0, 1, 1, 0, \
58  1, 1, 1, 1)
59 #define ALPHASQUARE_SYMBOL_J SYM4x4(1, 1, 1, 1, \
60  0, 0, 0, 1, \
61  1, 0, 0, 1, \
62  0, 1, 1, 0)
63 #define ALPHASQUARE_SYMBOL_K SYM4x4(1, 0, 0, 1, \
64  1, 1, 0, 0, \
65  1, 1, 0, 0, \
66  1, 0, 1, 1)
67 #define ALPHASQUARE_SYMBOL_L SYM4x4(1, 0, 0, 0, \
68  1, 0, 0, 0, \
69  1, 0, 0, 0, \
70  1, 1, 1, 1)
71 #define ALPHASQUARE_SYMBOL_M SYM4x4(1, 0, 1, 1, \
72  1, 1, 1, 1, \
73  1, 1, 0, 1, \
74  1, 0, 0, 1)
75 #define ALPHASQUARE_SYMBOL_N SYM4x4(1, 0, 0, 1, \
76  1, 1, 0, 1, \
77  1, 0, 1, 1, \
78  1, 0, 0, 1)
79 #define ALPHASQUARE_SYMBOL_O SYM4x4(1, 1, 1, 1, \
80  1, 0, 0, 1, \
81  1, 0, 0, 1, \
82  1, 1, 1, 1)
83 #define ALPHASQUARE_SYMBOL_P SYM4x4(1, 1, 1, 1, \
84  1, 0, 0, 1, \
85  1, 1, 1, 1, \
86  1, 0, 0, 0)
87 #define ALPHASQUARE_SYMBOL_Q SYM4x4(1, 1, 1, 1, \
88  1, 0, 0, 1, \
89  1, 0, 1, 1, \
90  1, 1, 1, 1)
91 #define ALPHASQUARE_SYMBOL_R SYM4x4(1, 1, 1, 1, \
92  1, 0, 0, 1, \
93  1, 1, 1, 0, \
94  1, 0, 1, 1)
95 #define ALPHASQUARE_SYMBOL_S SYM4x4(1, 1, 1, 1, \
96  1, 1, 0, 0, \
97  0, 0, 1, 1, \
98  1, 1, 1, 1)
99 #define ALPHASQUARE_SYMBOL_T SYM4x4(1, 1, 1, 1, \
100  0, 1, 1, 0, \
101  0, 1, 1, 0, \
102  0, 1, 1, 0)
103 #define ALPHASQUARE_SYMBOL_U SYM4x4(1, 0, 0, 1, \
104  1, 0, 0, 1, \
105  1, 0, 0, 1, \
106  1, 1, 1, 1)
107 #define ALPHASQUARE_SYMBOL_V SYM4x4(1, 0, 0, 1, \
108  1, 0, 0, 1, \
109  1, 0, 0, 1, \
110  0, 1, 1, 0)
111 #define ALPHASQUARE_SYMBOL_W SYM4x4(1, 0, 0, 1, \
112  1, 0, 1, 1, \
113  1, 1, 1, 1, \
114  1, 0, 1, 1)
115 #define ALPHASQUARE_SYMBOL_X SYM4x4(1, 0, 0, 1, \
116  0, 1, 1, 0, \
117  0, 1, 1, 0, \
118  1, 0, 0, 1)
119 #define ALPHASQUARE_SYMBOL_Y SYM4x4(1, 0, 0, 1, \
120  1, 1, 1, 1, \
121  0, 1, 1, 0, \
122  0, 1, 1, 0)
123 #define ALPHASQUARE_SYMBOL_Z SYM4x4(1, 1, 1, 1, \
124  0, 0, 1, 1, \
125  1, 1, 0, 0, \
126  1, 1, 1, 1)
127 // ---------------------
128 #define ALPHASQUARE_SYMBOL_1 SYM4x4(0, 1, 1, 0, \
129  1, 0, 1, 0, \
130  0, 0, 1, 0, \
131  1, 1, 1, 1)
132 #define ALPHASQUARE_SYMBOL_2 SYM4x4(0, 1, 1, 0, \
133  1, 0, 0, 1, \
134  0, 0, 1, 0, \
135  1, 1, 0, 1)
136 #define ALPHASQUARE_SYMBOL_3 SYM4x4(1, 1, 1, 1, \
137  0, 0, 1, 1, \
138  0, 0, 0, 1, \
139  1, 1, 1, 1)
140 #define ALPHASQUARE_SYMBOL_4 SYM4x4(1, 0, 0, 1, \
141  1, 1, 1, 1, \
142  0, 0, 0, 1, \
143  0, 0, 0, 1)
144 #define ALPHASQUARE_SYMBOL_5 SYM4x4(1, 1, 1, 1, \
145  1, 0, 0, 0, \
146  0, 1, 1, 1, \
147  1, 1, 1, 1)
148 #define ALPHASQUARE_SYMBOL_6 SYM4x4(0, 1, 1, 0, \
149  1, 0, 0, 0, \
150  1, 1, 1, 1, \
151  1, 1, 1, 1)
152 #define ALPHASQUARE_SYMBOL_7 SYM4x4(1, 1, 1, 1, \
153  0, 0, 0, 1, \
154  0, 0, 1, 0, \
155  0, 1, 0, 0)
156 #define ALPHASQUARE_SYMBOL_8 SYM4x4(1, 1, 1, 0, \
157  1, 0, 1, 1, \
158  1, 1, 0, 1, \
159  0, 1, 1, 1)
160 #define ALPHASQUARE_SYMBOL_9 SYM4x4(1, 1, 1, 1, \
161  1, 0, 0, 1, \
162  1, 1, 1, 1, \
163  0, 0, 0, 1)
164 #define ALPHASQUARE_SYMBOL_0 SYM4x4(0, 1, 1, 0, \
165  1, 0, 0, 1, \
166  1, 0, 0, 1, \
167  0, 1, 1, 0)
168 
169 #endif