-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathemojis.h
273 lines (252 loc) · 11 KB
/
emojis.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
byte amazed_part0[8] = {0b00000, 0b00000, 0b00000, 0b00000, 0b00011, 0b00001, 0b00010, 0b00000};
byte amazed_part1[8] = {0b00000, 0b00000, 0b10100, 0b10000, 0b11100, 0b11000, 0b00100, 0b00000};
byte amazed_part2[8] = {0b00000, 0b00000, 0b00001, 0b00001, 0b00111, 0b00011, 0b00100, 0b00000};
byte amazed_part3[8] = {0b00000, 0b00000, 0b00000, 0b00000, 0b11000, 0b10000, 0b01000, 0b00000};
byte amazed_part4[8] = {0b00000, 0b01111, 0b01000, 0b01100, 0b00110, 0b00011, 0b00001, 0b00000};
byte amazed_part5[8] = {0b00000, 0b11111, 0b00000, 0b00000, 0b00000, 0b00000, 0b11111, 0b00000};
byte amazed_part6[8] = {0b00000, 0b11111, 0b00000, 0b00000, 0b00000, 0b00000, 0b11111, 0b00000};
byte amazed_part7[8] = {0b00000, 0b11110, 0b00010, 0b00110, 0b01100, 0b11000, 0b10000, 0b00000};
void init_amazed() {
lcd.createChar(0, amazed_part0);
lcd.createChar(1, amazed_part1);
lcd.createChar(2, amazed_part2);
lcd.createChar(3, amazed_part3);
lcd.createChar(4, amazed_part4);
lcd.createChar(5, amazed_part5);
lcd.createChar(6, amazed_part6);
lcd.createChar(7, amazed_part7);
}
void display_amazed(int right_pos) {
lcd.setCursor(right_pos + 0, 0);
lcd.write(byte(0));
lcd.setCursor(right_pos + 1, 0);
lcd.write(byte(1));
lcd.setCursor(right_pos + 2, 0);
lcd.write(byte(2));
lcd.setCursor(right_pos + 3, 0);
lcd.write(byte(3));
lcd.setCursor(right_pos + 0, 1);
lcd.write(byte(4));
lcd.setCursor(right_pos + 1, 1);
lcd.write(byte(5));
lcd.setCursor(right_pos + 2, 1);
lcd.write(byte(6));
lcd.setCursor(right_pos + 3, 1);
lcd.write(byte(7));
}
byte smile_part0[8] = {0b00000, 0b00000, 0b00001, 0b00010, 0b00010, 0b00010, 0b00001, 0b00000};
byte smile_part1[8] = {0b00000, 0b00000, 0b11000, 0b00100, 0b00100, 0b00100, 0b11000, 0b00000};
byte smile_part2[8] = {0b00000, 0b00000, 0b00011, 0b00100, 0b00100, 0b00100, 0b00011, 0b00000};
byte smile_part3[8] = {0b00000, 0b00000, 0b10000, 0b01000, 0b01000, 0b01000, 0b10000, 0b00000};
byte smile_part4[8] = {0b00000, 0b01000, 0b01000, 0b01100, 0b00110, 0b00011, 0b00000, 0b00000};
byte smile_part5[8] = {0b00000, 0b00000, 0b00000, 0b00000, 0b00000, 0b11111, 0b00000, 0b00000};
byte smile_part6[8] = {0b00000, 0b00000, 0b00000, 0b00000, 0b00000, 0b11111, 0b00000, 0b00000};
byte smile_part7[8] = {0b00000, 0b00010, 0b00010, 0b00110, 0b01100, 0b11000, 0b00000, 0b00000};
void init_smile() {
lcd.createChar(0, smile_part0);
lcd.createChar(1, smile_part1);
lcd.createChar(2, smile_part2);
lcd.createChar(3, smile_part3);
lcd.createChar(4, smile_part4);
lcd.createChar(5, smile_part5);
lcd.createChar(6, smile_part6);
lcd.createChar(7, smile_part7);
}
void display_smile(int right_pos) {
lcd.setCursor(right_pos + 0, 0);
lcd.write(byte(0));
lcd.setCursor(right_pos + 1, 0);
lcd.write(byte(1));
lcd.setCursor(right_pos + 2, 0);
lcd.write(byte(2));
lcd.setCursor(right_pos + 3, 0);
lcd.write(byte(3));
lcd.setCursor(right_pos + 0, 1);
lcd.write(byte(4));
lcd.setCursor(right_pos + 1, 1);
lcd.write(byte(5));
lcd.setCursor(right_pos + 2, 1);
lcd.write(byte(6));
lcd.setCursor(right_pos + 3, 1);
lcd.write(byte(7));
}
byte shocked_part0[8] = {0b00000, 0b00000, 0b00001, 0b00010, 0b00010, 0b00010, 0b00001, 0b00000};
byte shocked_part1[8] = {0b00000, 0b00000, 0b11000, 0b00100, 0b00100, 0b00100, 0b11000, 0b00000};
byte shocked_part2[8] = {0b00000, 0b00000, 0b00011, 0b00100, 0b00100, 0b00100, 0b00011, 0b00000};
byte shocked_part3[8] = {0b00000, 0b00000, 0b10000, 0b01000, 0b01000, 0b01000, 0b10000, 0b00000};
byte shocked_part4[8] = {0b00000, 0b00001, 0b00010, 0b00010, 0b00010, 0b00001, 0b00000, 0b00000};
byte shocked_part5[8] = {0b00000, 0b11111, 0b00000, 0b00000, 0b00000, 0b11111, 0b00000, 0b00000};
byte shocked_part6[8] = {0b00000, 0b11111, 0b00000, 0b00000, 0b00000, 0b11111, 0b00000, 0b00000};
byte shocked_part7[8] = {0b00000, 0b10000, 0b01000, 0b01000, 0b01000, 0b10000, 0b00000, 0b00000};
void init_shocked() {
lcd.createChar(0, shocked_part0);
lcd.createChar(1, shocked_part1);
lcd.createChar(2, shocked_part2);
lcd.createChar(3, shocked_part3);
lcd.createChar(4, shocked_part4);
lcd.createChar(5, shocked_part5);
lcd.createChar(6, shocked_part6);
lcd.createChar(7, shocked_part7);
}
void display_shocked(int right_pos) {
lcd.setCursor(right_pos + 0, 0);
lcd.write(byte(0));
lcd.setCursor(right_pos + 1, 0);
lcd.write(byte(1));
lcd.setCursor(right_pos + 2, 0);
lcd.write(byte(2));
lcd.setCursor(right_pos + 3, 0);
lcd.write(byte(3));
lcd.setCursor(right_pos + 0, 1);
lcd.write(byte(4));
lcd.setCursor(right_pos + 1, 1);
lcd.write(byte(5));
lcd.setCursor(right_pos + 2, 1);
lcd.write(byte(6));
lcd.setCursor(right_pos + 3, 1);
lcd.write(byte(7));
}
byte meh_part0[8] = {0b00000, 0b00000, 0b00001, 0b00010, 0b00010, 0b00010, 0b00001, 0b00000};
byte meh_part1[8] = {0b00000, 0b00000, 0b11000, 0b00100, 0b00100, 0b00100, 0b11000, 0b00000};
byte meh_part2[8] = {0b00000, 0b00000, 0b00011, 0b00100, 0b00100, 0b00100, 0b00011, 0b00000};
byte meh_part3[8] = {0b00000, 0b00000, 0b10000, 0b01000, 0b01000, 0b01000, 0b10000, 0b00000};
byte meh_part4[8] = {0b00000, 0b00000, 0b00000, 0b01111, 0b00000, 0b00000, 0b00000, 0b00000};
byte meh_part5[8] = {0b00000, 0b00000, 0b00000, 0b11111, 0b00000, 0b00000, 0b00000, 0b00000};
byte meh_part6[8] = {0b00000, 0b00000, 0b00000, 0b11111, 0b00000, 0b00000, 0b00000, 0b00000};
byte meh_part7[8] = {0b00000, 0b00000, 0b00000, 0b11110, 0b00000, 0b00000, 0b00000, 0b00000};
void init_meh() {
lcd.createChar(0, meh_part0);
lcd.createChar(1, meh_part1);
lcd.createChar(2, meh_part2);
lcd.createChar(3, meh_part3);
lcd.createChar(4, meh_part4);
lcd.createChar(5, meh_part5);
lcd.createChar(6, meh_part6);
lcd.createChar(7, meh_part7);
}
void display_meh(int right_pos) {
lcd.setCursor(right_pos + 0, 0);
lcd.write(byte(0));
lcd.setCursor(right_pos + 1, 0);
lcd.write(byte(1));
lcd.setCursor(right_pos + 2, 0);
lcd.write(byte(2));
lcd.setCursor(right_pos + 3, 0);
lcd.write(byte(3));
lcd.setCursor(right_pos + 0, 1);
lcd.write(byte(4));
lcd.setCursor(right_pos + 1, 1);
lcd.write(byte(5));
lcd.setCursor(right_pos + 2, 1);
lcd.write(byte(6));
lcd.setCursor(right_pos + 3, 1);
lcd.write(byte(7));
}
byte frown_part0[8] = {0b00000, 0b00000, 0b00001, 0b00010, 0b00010, 0b00010, 0b00001, 0b00000};
byte frown_part1[8] = {0b00000, 0b00000, 0b11000, 0b00100, 0b00100, 0b00100, 0b11000, 0b00000};
byte frown_part2[8] = {0b00000, 0b00000, 0b00011, 0b00100, 0b00100, 0b00100, 0b00011, 0b00000};
byte frown_part3[8] = {0b00000, 0b00000, 0b10000, 0b01000, 0b01000, 0b01000, 0b10000, 0b00000};
byte frown_part4[8] = {0b00000, 0b00000, 0b00001, 0b00110, 0b01000, 0b01000, 0b00000, 0b00000};
byte frown_part5[8] = {0b00000, 0b00111, 0b11000, 0b00000, 0b00000, 0b00000, 0b00000, 0b00000};
byte frown_part6[8] = {0b00000, 0b11100, 0b00011, 0b00000, 0b00000, 0b00000, 0b00000, 0b00000};
byte frown_part7[8] = {0b00000, 0b00000, 0b10000, 0b01100, 0b00010, 0b00010, 0b00000, 0b00000};
void init_frown() {
lcd.createChar(0, frown_part0);
lcd.createChar(1, frown_part1);
lcd.createChar(2, frown_part2);
lcd.createChar(3, frown_part3);
lcd.createChar(4, frown_part4);
lcd.createChar(5, frown_part5);
lcd.createChar(6, frown_part6);
lcd.createChar(7, frown_part7);
}
void display_frown(int right_pos) {
lcd.setCursor(right_pos + 0, 0);
lcd.write(byte(0));
lcd.setCursor(right_pos + 1, 0);
lcd.write(byte(1));
lcd.setCursor(right_pos + 2, 0);
lcd.write(byte(2));
lcd.setCursor(right_pos + 3, 0);
lcd.write(byte(3));
lcd.setCursor(right_pos + 0, 1);
lcd.write(byte(4));
lcd.setCursor(right_pos + 1, 1);
lcd.write(byte(5));
lcd.setCursor(right_pos + 2, 1);
lcd.write(byte(6));
lcd.setCursor(right_pos + 3, 1);
lcd.write(byte(7));
}
byte angry_part0[8] = {0b00000, 0b00000, 0b00001, 0b00010, 0b00010, 0b00010, 0b00001, 0b00000};
byte angry_part1[8] = {0b01100, 0b00110, 0b11011, 0b00101, 0b00100, 0b00100, 0b11000, 0b00000};
byte angry_part2[8] = {0b00110, 0b01100, 0b11011, 0b10100, 0b00100, 0b00100, 0b00011, 0b00000};
byte angry_part3[8] = {0b00000, 0b00000, 0b10000, 0b01000, 0b01000, 0b01000, 0b10000, 0b00000};
byte angry_part4[8] = {0b00000, 0b00000, 0b00001, 0b00110, 0b01000, 0b01000, 0b00000, 0b00000};
byte angry_part5[8] = {0b00000, 0b00111, 0b11000, 0b00000, 0b00000, 0b00000, 0b00000, 0b00000};
byte angry_part6[8] = {0b00000, 0b11100, 0b00011, 0b00000, 0b00000, 0b00000, 0b00000, 0b00000};
byte angry_part7[8] = {0b00000, 0b00000, 0b10000, 0b01100, 0b00010, 0b00010, 0b00000, 0b00000};
void init_angry() {
lcd.createChar(0, angry_part0);
lcd.createChar(1, angry_part1);
lcd.createChar(2, angry_part2);
lcd.createChar(3, angry_part3);
lcd.createChar(4, angry_part4);
lcd.createChar(5, angry_part5);
lcd.createChar(6, angry_part6);
lcd.createChar(7, angry_part7);
}
void display_angry(int right_pos) {
lcd.setCursor(right_pos + 0, 0);
lcd.write(byte(0));
lcd.setCursor(right_pos + 1, 0);
lcd.write(byte(1));
lcd.setCursor(right_pos + 2, 0);
lcd.write(byte(2));
lcd.setCursor(right_pos + 3, 0);
lcd.write(byte(3));
lcd.setCursor(right_pos + 0, 1);
lcd.write(byte(4));
lcd.setCursor(right_pos + 1, 1);
lcd.write(byte(5));
lcd.setCursor(right_pos + 2, 1);
lcd.write(byte(6));
lcd.setCursor(right_pos + 3, 1);
lcd.write(byte(7));
}
byte furious_part0[8] = {0b00000, 0b00000, 0b00001, 0b00010, 0b00010, 0b00010, 0b00001, 0b00000};
byte furious_part1[8] = {0b01100, 0b00110, 0b11011, 0b00101, 0b00100, 0b00100, 0b11000, 0b00000};
byte furious_part2[8] = {0b00110, 0b01100, 0b11011, 0b10100, 0b00100, 0b00100, 0b00011, 0b00000};
byte furious_part3[8] = {0b00000, 0b00000, 0b10000, 0b01000, 0b01000, 0b01000, 0b10000, 0b00000};
byte furious_part4[8] = {0b00000, 0b00000, 0b00001, 0b00110, 0b01111, 0b01010, 0b01111, 0b00000};
byte furious_part5[8] = {0b00000, 0b00111, 0b11010, 0b01010, 0b11111, 0b01010, 0b11111, 0b00000};
byte furious_part6[8] = {0b00000, 0b11100, 0b01011, 0b01010, 0b11111, 0b01010, 0b11111, 0b00000};
byte furious_part7[8] = {0b00000, 0b00000, 0b10000, 0b01100, 0b11110, 0b01010, 0b11110, 0b00000};
void init_furious() {
lcd.createChar(0, furious_part0);
lcd.createChar(1, furious_part1);
lcd.createChar(2, furious_part2);
lcd.createChar(3, furious_part3);
lcd.createChar(4, furious_part4);
lcd.createChar(5, furious_part5);
lcd.createChar(6, furious_part6);
lcd.createChar(7, furious_part7);
}
void display_furious(int right_pos) {
lcd.setCursor(right_pos + 0, 0);
lcd.write(byte(0));
lcd.setCursor(right_pos + 1, 0);
lcd.write(byte(1));
lcd.setCursor(right_pos + 2, 0);
lcd.write(byte(2));
lcd.setCursor(right_pos + 3, 0);
lcd.write(byte(3));
lcd.setCursor(right_pos + 0, 1);
lcd.write(byte(4));
lcd.setCursor(right_pos + 1, 1);
lcd.write(byte(5));
lcd.setCursor(right_pos + 2, 1);
lcd.write(byte(6));
lcd.setCursor(right_pos + 3, 1);
lcd.write(byte(7));
}