-
Notifications
You must be signed in to change notification settings - Fork 60
/
HowToUse.ino
3558 lines (3488 loc) · 290 KB
/
HowToUse.ino
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
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#if defined ( ARDUINO )
#include <Arduino.h>
// If you use SD card, write this.
#include <SD.h>
#if __has_include(<LittleFS.h>)
// If you use LittleFS, write this.
// #include <LittleFS.h>
#endif
#if __has_include(<SPIFFS.h>)
// If you use SPIFFS, write this.
// #include <SPIFFS.h>
#endif
#endif
// * The filesystem header must be included before the display library.
//----------------------------------------------------------------
// If you use ATOM Display, write this.
#include <M5AtomDisplay.h>
// If you use Module Display, write this.
#include <M5ModuleDisplay.h>
// If you use Module RCA, write this.
#include <M5ModuleRCA.h>
// If you use Unit GLASS, write this.
#include <M5UnitGLASS.h>
// If you use Unit GLASS2, write this.
#include <M5UnitGLASS2.h>
// If you use Unit OLED, write this.
#include <M5UnitOLED.h>
// If you use Unit Mini OLED, write this.
#include <M5UnitMiniOLED.h>
// If you use Unit LCD, write this.
#include <M5UnitLCD.h>
// If you use UnitRCA (for Video output), write this.
#include <M5UnitRCA.h>
// * The display header must be included before the M5Unified library.
//----------------------------------------------------------------
// Include this to enable the M5 global instance.
#include <M5Unified.h>
extern const uint8_t wav_8bit_44100[46000];
void setup(void)
{
/// You may output logs to standard output.
M5_LOGE("this is error LOG");
M5_LOGW("this is warning LOG");
M5_LOGI("this is info LOG");
M5_LOGD("this is debug LOG");
M5_LOGV("this is verbose LOG");
auto cfg = M5.config();
#if defined ( ARDUINO )
cfg.serial_baudrate = 115200; // default=115200. if "Serial" is not needed, set it to 0.
#endif
cfg.clear_display = true; // default=true. clear the screen when begin.
cfg.output_power = true; // default=true. use external port 5V output.
cfg.internal_imu = true; // default=true. use internal IMU.
cfg.internal_rtc = true; // default=true. use internal RTC.
cfg.internal_spk = true; // default=true. use internal speaker.
cfg.internal_mic = true; // default=true. use internal microphone.
cfg.external_imu = true; // default=false. use Unit Accel & Gyro.
cfg.external_rtc = true; // default=false. use Unit RTC.
cfg.led_brightness = 64; // default= 0. system LED brightness (0=off / 255=max) (※ not NeoPixel)
// external speaker setting.
cfg.external_speaker.module_display = true; // default=false. use ModuleDisplay AudioOutput
cfg.external_speaker.hat_spk = true; // default=false. use HAT SPK
cfg.external_speaker.hat_spk2 = true; // default=false. use HAT SPK2
cfg.external_speaker.atomic_spk = true; // default=false. use ATOMIC SPK
cfg.external_speaker.module_rca = false; // default=false. use ModuleRCA AudioOutput
// external display setting. (Pre-include required)
cfg.external_display.module_display = true; // default=true. use ModuleDisplay
cfg.external_display.atom_display = true; // default=true. use AtomDisplay
cfg.external_display.unit_glass = false; // default=true. use UnitGLASS
cfg.external_display.unit_glass2 = false; // default=true. use UnitGLASS2
cfg.external_display.unit_oled = false; // default=true. use UnitOLED
cfg.external_display.unit_mini_oled = false; // default=true. use UnitMiniOLED
cfg.external_display.unit_lcd = false; // default=true. use UnitLCD
cfg.external_display.unit_rca = false; // default=true. use UnitRCA VideoOutput
cfg.external_display.module_rca = false; // default=true. use ModuleRCA VideoOutput
/*
※ Unit OLED, Unit Mini OLED, Unit GLASS2 cannot be distinguished at runtime and may be misidentified as each other.
※ Display with auto-detection
- module_display
- atom_display
- unit_glass
- unit_glass2
- unit_oled
- unit_mini_oled
- unit_lcd
※ Displays that cannot be auto-detected
- module_rca
- unit_rca
※ Note that if you enable a display that cannot be auto-detected,
it will operate as if it were connected, even if it is not actually connected.
When RCA is enabled, it consumes a lot of memory to allocate the frame buffer.
//*/
// Set individual parameters for external displays.
// (※ Use only the items you wish to change. Basically, it can be omitted.)
#if defined ( __M5GFX_M5ATOMDISPLAY__ ) // setting for ATOM Display.
// cfg.atom_display.logical_width = 1280;
// cfg.atom_display.logical_height = 720;
// cfg.atom_display.refresh_rate = 60;
#endif
#if defined ( __M5GFX_M5MODULEDISPLAY__ ) // setting for Module Display.
// cfg.module_display.logical_width = 1280;
// cfg.module_display.logical_height = 720;
// cfg.module_display.refresh_rate = 60;
#endif
#if defined ( __M5GFX_M5MODULERCA__ ) // setting for Module RCA.
// cfg.module_rca.logical_width = 216;
// cfg.module_rca.logical_height = 144;
// cfg.module_rca.signal_type = M5ModuleRCA::signal_type_t::PAL;
// cfg.module_rca.use_psram = M5ModuleRCA::use_psram_t::psram_use;
#endif
#if defined ( __M5GFX_M5UNITRCA__ ) // setting for Unit RCA.
// cfg.unit_rca.logical_width = 216;
// cfg.unit_rca.logical_height = 144;
// cfg.unit_rca.signal_type = M5UnitRCA::signal_type_t::PAL;
// cfg.unit_rca.use_psram = M5UnitRCA::use_psram_t::psram_use;
#endif
#if defined ( __M5GFX_M5UNITGLASS__ ) // setting for Unit GLASS.
// cfg.unit_glass.pin_sda = GPIO_NUM_21;
// cfg.unit_glass.pin_scl = GPIO_NUM_22;
// cfg.unit_glass.i2c_addr = 0x3D;
// cfg.unit_glass.i2c_freq = 400000;
// cfg.unit_glass.i2c_port = I2C_NUM_0;
#endif
#if defined ( __M5GFX_M5UNITGLASS2__ ) // setting for Unit GLASS2.
// cfg.unit_glass2.pin_sda = GPIO_NUM_21;
// cfg.unit_glass2.pin_scl = GPIO_NUM_22;
// cfg.unit_glass2.i2c_addr = 0x3C;
// cfg.unit_glass2.i2c_freq = 400000;
// cfg.unit_glass2.i2c_port = I2C_NUM_0;
#endif
#if defined ( __M5GFX_M5UNITOLED__ ) // setting for Unit OLED.
// cfg.unit_oled.pin_sda = GPIO_NUM_21;
// cfg.unit_oled.pin_scl = GPIO_NUM_22;
// cfg.unit_oled.i2c_addr = 0x3C;
// cfg.unit_oled.i2c_freq = 400000;
// cfg.unit_oled.i2c_port = I2C_NUM_0;
#endif
#if defined ( __M5GFX_M5UNITMINIOLED__ ) // setting for Unit Mini OLED.
// cfg.unit_mini_oled.pin_sda = GPIO_NUM_21;
// cfg.unit_mini_oled.pin_scl = GPIO_NUM_22;
// cfg.unit_mini_oled.i2c_addr = 0x3C;
// cfg.unit_mini_oled.i2c_freq = 400000;
// cfg.unit_mini_oled.i2c_port = I2C_NUM_0;
#endif
#if defined ( __M5GFX_M5UNITLCD__ ) // setting for Unit LCD.
// cfg.unit_lcd.pin_sda = GPIO_NUM_21;
// cfg.unit_lcd.pin_scl = GPIO_NUM_22;
// cfg.unit_lcd.i2c_addr = 0x3E;
// cfg.unit_lcd.i2c_freq = 400000;
// cfg.unit_lcd.i2c_port = I2C_NUM_0;
#endif
// begin M5Unified.
M5.begin(cfg);
// If an external display is to be used as the main display, it can be listed in order of priority.
M5.setPrimaryDisplayType( {
m5::board_t::board_M5ModuleDisplay,
m5::board_t::board_M5AtomDisplay,
// m5::board_t::board_M5ModuleRCA,
// m5::board_t::board_M5UnitGLASS,
// m5::board_t::board_M5UnitGLASS2,
// m5::board_t::board_M5UnitMiniOLED,
// m5::board_t::board_M5UnitOLED,
// m5::board_t::board_M5UnitLCD,
// m5::board_t::board_M5UnitRCA,
} );
if (M5.Speaker.isEnabled())
{
/// set master volume (0~255)
M5.Speaker.setVolume(64);
/// play beep sound 2000Hz 100msec (background task)
M5.Speaker.tone(2000, 100);
/// wait done
while (M5.Speaker.isPlaying()) { M5.delay(1); }
/// play beep sound 1000Hz 100msec (background task)
M5.Speaker.tone(1000, 100);
/// wait play beep sound 2000Hz 100msec (background task)
while (M5.Speaker.isPlaying()) { M5.delay(1); }
M5.Speaker.playRaw(wav_8bit_44100, sizeof(wav_8bit_44100), 44100, false);
}
if (M5.Rtc.isEnabled())
{
// It is recommended to set UTC for the RTC and ESP32 internal clocks.
// rtc direct setting. YYYY MM DD hh mm ss
// M5.Rtc.setDateTime( {{ 2021, 12, 31 }, { 12, 34, 56 }} );
}
/// For models with EPD : refresh control
M5.Display.setEpdMode(epd_mode_t::epd_fastest); // fastest but very-low quality.
//M5.Display.setEpdMode(epd_mode_t::epd_fast ); // fast but low quality.
//M5.Display.setEpdMode(epd_mode_t::epd_text ); // slow but high quality. (for text)
//M5.Display.setEpdMode(epd_mode_t::epd_quality); // slow but high quality. (for image)
/// For models with LCD : backlight control (0~255)
M5.Display.setBrightness(128);
if (M5.Display.width() < M5.Display.height())
{ /// Landscape mode.
M5.Display.setRotation(M5.Display.getRotation() ^ 1);
}
// multi display.
size_t display_count = M5.getDisplayCount();
for (int i = 0; i < display_count; ++i) {
M5.Displays(i).startWrite();
for (int y = 0; y < 128; ++y)
{
for (int x = 0; x < 128; ++x)
{
M5.Displays(i).writePixel(x, y, M5.Display.color888(x*2,x+y,y*2));
}
}
M5.Displays(i).printf("Display %d\n", i);
M5.Displays(i).endWrite();
}
int textsize = M5.Display.height() / 160;
if (textsize == 0) { textsize = 1; }
M5.Display.setTextSize(textsize);
// run-time branch : hardware model check
const char* name;
switch (M5.getBoard())
{
#if defined (CONFIG_IDF_TARGET_ESP32S3)
case m5::board_t::board_M5StackCoreS3:
name = "StackCoreS3";
break;
case m5::board_t::board_M5StackCoreS3SE:
name = "StackCoreS3SE";
break;
case m5::board_t::board_M5StampS3:
name = "StampS3";
break;
case m5::board_t::board_M5AtomS3U:
name = "ATOMS3U";
break;
case m5::board_t::board_M5AtomS3Lite:
name = "ATOMS3Lite";
break;
case m5::board_t::board_M5AtomS3:
name = "ATOMS3";
break;
case m5::board_t::board_M5AtomS3R:
name = "ATOMS3R";
break;
case m5::board_t::board_M5Dial:
name = "Dial";
break;
case m5::board_t::board_M5DinMeter:
name = "DinMeter";
break;
case m5::board_t::board_M5Capsule:
name = "Capsule";
break;
case m5::board_t::board_M5Cardputer:
name = "Cardputer";
break;
case m5::board_t::board_M5VAMeter:
name = "VAMeter";
break;
case m5::board_t::board_M5PaperS3:
name = "PaperS3";
break;
#elif defined (CONFIG_IDF_TARGET_ESP32C3)
case m5::board_t::board_M5StampC3:
name = "StampC3";
break;
case m5::board_t::board_M5StampC3U:
name = "StampC3U";
break;
#elif defined (CONFIG_IDF_TARGET_ESP32C6)
case m5::board_t::board_M5NanoC6:
name = "NanoC6";
break;
#else
case m5::board_t::board_M5Stack:
name = "Stack";
break;
case m5::board_t::board_M5StackCore2:
name = "StackCore2";
break;
case m5::board_t::board_M5StickC:
name = "StickC";
break;
case m5::board_t::board_M5StickCPlus:
name = "StickCPlus";
break;
case m5::board_t::board_M5StickCPlus2:
name = "StickCPlus2";
break;
case m5::board_t::board_M5StackCoreInk:
name = "CoreInk";
break;
case m5::board_t::board_M5Paper:
name = "Paper";
break;
case m5::board_t::board_M5Tough:
name = "Tough";
break;
case m5::board_t::board_M5Station:
name = "Station";
break;
case m5::board_t::board_M5AtomLite:
name = "ATOM Lite";
break;
case m5::board_t::board_M5AtomMatrix:
name = "ATOM Matrix";
break;
case m5::board_t::board_M5AtomEcho:
name = "ATOM ECHO";
break;
case m5::board_t::board_M5AtomPsram:
name = "ATOM PSRAM";
break;
case m5::board_t::board_M5AtomU:
name = "ATOM U";
break;
case m5::board_t::board_M5TimerCam:
name = "TimerCamera";
break;
case m5::board_t::board_M5StampPico:
name = "StampPico";
break;
#endif
default:
name = "Who am I ?";
break;
}
M5.Display.startWrite();
M5.Display.print("Core:");
M5.Display.println(name);
M5_LOGI("core:%s", name);
// run-time branch : imu model check
switch (M5.Imu.getType())
{
case m5::imu_t::imu_mpu6050:
name = "MPU6050";
break;
case m5::imu_t::imu_mpu6886:
name = "MPU6886";
break;
case m5::imu_t::imu_mpu9250:
name = "MPU9250";
break;
case m5::imu_t::imu_bmi270:
name = "BMI270";
break;
case m5::imu_t::imu_sh200q:
name = "SH200Q";
break;
default:
name = "none";
break;
}
M5.Display.print("IMU:");
M5.Display.println(name);
M5.Display.endWrite();
M5_LOGI("imu:%s", name);
}
void loop(void)
{
M5.delay(1);
int h = M5.Display.height() / 8;
M5.update();
//------------------- Button test
/*
/// List of available buttons:
M5Stack BASIC/GRAY/GO/FIRE: BtnA,BtnB,BtnC
M5Stack Core2: BtnA,BtnB,BtnC,BtnPWR
M5Stick C/CPlus: BtnA,BtnB, BtnPWR
M5Stick CoreInk: BtnA,BtnB,BtnC,BtnPWR,BtnEXT
M5Paper: BtnA,BtnB,BtnC
M5Station: BtnA,BtnB,BtnC,BtnPWR
M5Stack CoreS3,Tough: BtnPWR
M5Atom Series: BtnA
M5Stamp Series: BtnA
*/
static constexpr const int colors[] = { TFT_WHITE, TFT_CYAN, TFT_RED, TFT_YELLOW, TFT_BLUE, TFT_GREEN };
static constexpr const char* const names[] = { "none", "wasHold", "wasClicked", "wasPressed", "wasReleased", "wasDeciedCount" };
M5.Display.startWrite();
/// BtnPWR: "wasClicked"/"wasHold" can be use.
/// BtnPWR of CoreInk: "isPressed"/"wasPressed"/"isReleased"/"wasReleased"/"wasClicked"/"wasHold"/"isHolding" can be use.
int state = M5.BtnPWR.wasHold() ? 1
: M5.BtnPWR.wasClicked() ? 2
: M5.BtnPWR.wasPressed() ? 3
: M5.BtnPWR.wasReleased() ? 4
: M5.BtnPWR.wasDecideClickCount() ? 5
: 0;
if (state)
{
M5.Speaker.tone(783.991, 100);
M5_LOGI("BtnPWR:%s count:%d", names[state], M5.BtnPWR.getClickCount());
if (!M5.Display.displayBusy())
{
M5.Display.fillRect(0, h*2, h, h-1, colors[state]);
M5.Display.setCursor(0, h*2);
M5.Display.printf("%d", M5.BtnPWR.getClickCount());
}
}
/// BtnA,BtnB,BtnC,BtnEXT: "isPressed"/"wasPressed"/"isReleased"/"wasReleased"/"wasClicked"/"wasHold"/"isHolding" can be use.
state = M5.BtnA.wasHold() ? 1
: M5.BtnA.wasClicked() ? 2
: M5.BtnA.wasPressed() ? 3
: M5.BtnA.wasReleased() ? 4
: M5.BtnA.wasDecideClickCount() ? 5
: 0;
if (state)
{
M5.Speaker.tone(523.251, 100);
M5_LOGI("BtnA:%s count:%d", names[state], M5.BtnA.getClickCount());
if (!M5.Display.displayBusy())
{
M5.Display.fillRect(0, h*3, h, h-1, colors[state]);
M5.Display.setCursor(0, h*3);
M5.Display.printf("%d", M5.BtnA.getClickCount());
}
}
state = M5.BtnB.wasHold() ? 1
: M5.BtnB.wasClicked() ? 2
: M5.BtnB.wasPressed() ? 3
: M5.BtnB.wasReleased() ? 4
: M5.BtnB.wasDecideClickCount() ? 5
: 0;
if (state)
{
M5.Speaker.tone(587.330, 100);
M5_LOGI("BtnB:%s count:%d", names[state], M5.BtnB.getClickCount());
if (!M5.Display.displayBusy())
{
M5.Display.fillRect(0, h*4, h, h-1, colors[state]);
M5.Display.setCursor(0, h*4);
M5.Display.printf("%d", M5.BtnB.getClickCount());
}
}
state = M5.BtnC.wasHold() ? 1
: M5.BtnC.wasClicked() ? 2
: M5.BtnC.wasPressed() ? 3
: M5.BtnC.wasReleased() ? 4
: M5.BtnC.wasDecideClickCount() ? 5
: 0;
if (state)
{
M5.Speaker.tone(659.255, 100);
M5_LOGI("BtnC:%s count:%d", names[state], M5.BtnC.getClickCount());
if (!M5.Display.displayBusy())
{
M5.Display.fillRect(0, h*5, h, h-1, colors[state]);
M5.Display.setCursor(0, h*5);
M5.Display.printf("%d", M5.BtnC.getClickCount());
}
}
state = M5.BtnEXT.wasHold() ? 1
: M5.BtnEXT.wasClicked() ? 2
: M5.BtnEXT.wasPressed() ? 3
: M5.BtnEXT.wasReleased() ? 4
: M5.BtnEXT.wasDecideClickCount() ? 5
: 0;
if (state)
{
M5.Speaker.tone(698.456, 100);
M5_LOGI("BtnEXT:%s count:%d", names[state], M5.BtnEXT.getClickCount());
if (!M5.Display.displayBusy())
{
M5.Display.fillRect(0, h*6, h, h-1, colors[state]);
M5.Display.setCursor(0, h*6);
M5.Display.printf("%d", M5.BtnEXT.getClickCount());
}
}
M5.Display.endWrite();
if (!M5.Display.displayBusy())
{
static uint32_t prev_sec;
uint32_t sec = m5gfx::millis() / 1000;
if (prev_sec != sec)
{
prev_sec = sec;
//------------------- Battery level
static int prev_battery = INT_MAX;
int battery = M5.Power.getBatteryLevel();
if (prev_battery != battery)
{
prev_battery = battery;
M5.Display.startWrite();
M5.Display.setCursor(0, M5.Display.fontHeight() * 3);
M5.Display.print("Bat:");
if (battery >= 0)
{
M5.Display.printf("%03d", battery);
}
else
{
M5.Display.print("none");
}
M5.Display.endWrite();
}
//------------------- RTC test
if (M5.Rtc.isEnabled())
{
static constexpr const char* const wd[] = {"Sun","Mon","Tue","Wed","Thr","Fri","Sat","ERR"};
char buf[32];
//*
/// Get the date and time from the RTC and display it.
m5::rtc_datetime_t dt;
if (M5.Rtc.getDateTime(&dt))
{
M5.Display.startWrite();
snprintf( buf, 30, "%04d/%02d/%02d(%s)"
, dt.date.year
, dt.date.month
, dt.date.date
, wd[dt.date.weekDay & 7]
);
M5.Display.drawString(buf, M5.Display.width() / 2, 0);
snprintf( buf, 30, "%02d:%02d:%02d"
, dt.time.hours
, dt.time.minutes
, dt.time.seconds
);
M5.Display.drawString(buf, M5.Display.width() / 2, M5.Display.fontHeight());
M5.Display.endWrite();
}
else
{
M5.Display.drawString("RTC error", M5.Display.width() / 2, M5.Display.fontHeight()>>1);
}
/*/
/// In the example above, the date and time are obtained through I2C communication with the RTC.
/// However, since M5Unified synchronizes the ESP32's internal clock at startup,
/// it is also possible to get the date and time, as shown in the example below.
/// ※ Note: that there will be an error of a few seconds per day.
/// You may want to call M5.Rtc.setSystemTimeFromRtc() periodically to synchronize.
auto t = time(nullptr);
auto time = localtime(&t);
M5.Display.startWrite();
snprintf( buf, 30, "%04d/%02d/%02d(%s)"
, time->tm_year + 1900
, time->tm_mon + 1
, time->tm_mday
, wd[time->tm_wday & 7]
);
M5.Display.drawString(buf, M5.Display.width() / 2, 0);
snprintf( buf, 30, "%02d:%02d:%02d"
, time->tm_hour
, time->tm_min
, time->tm_sec
);
M5.Display.drawString(buf, M5.Display.width() / 2, M5.Display.fontHeight());
M5.Display.endWrite();
//*/
}
}
}
//------------------- IMU test
if (M5.Imu.isEnabled())
{
int ox = (M5.Display.width()+h)>>1;
static int prev_xpos[6];
int xpos[6];
float val[6];
M5.Imu.getAccel(&val[0], &val[1], &val[2]);
M5.Imu.getGyro(&val[3], &val[4], &val[5]);
int color[6] = { TFT_RED, TFT_GREEN, TFT_BLUE, TFT_RED, TFT_GREEN, TFT_BLUE };
for (int i = 0; i < 3; ++i)
{
xpos[i] = val[i] * 50;
xpos[i+3] = val[i+3] / 2;
}
M5.Display.startWrite();
M5.Display.setClipRect(h, h, M5.Display.width(), M5.Display.height());
M5.Display.waitDisplay();
for (int i = 0; i < 6; ++i)
{
if (xpos[i] == prev_xpos[i]) continue;
int px = prev_xpos[i];
if ((xpos[i] < 0) != (px < 0))
{
if (px)
{
M5.Display.fillRect(ox, h * (i+2), px, h, M5.Display.getBaseColor());
}
px = 0;
}
if (xpos[i] != px)
{
if ((xpos[i] > px) != (xpos[i] < 0))
{
M5.Display.setColor(color[i]);
}
else
{
M5.Display.setColor(M5.Display.getBaseColor());
}
M5.Display.fillRect(xpos[i] + ox, h * (i+2), px - xpos[i], h);
}
prev_xpos[i] = xpos[i];
}
M5.Display.clearClipRect();
M5.Display.endWrite();
}
M5.Display.display();
}
#if !defined ( ARDUINO ) && defined ( ESP_PLATFORM )
extern "C" {
void loopTask(void*)
{
setup();
for (;;) {
loop();
}
vTaskDelete(NULL);
}
void app_main()
{
xTaskCreatePinnedToCore(loopTask, "loopTask", 8192, NULL, 1, NULL, 1);
}
}
#endif
const uint8_t wav_8bit_44100[46000] = {
0x80, 0x81, 0x83, 0x84, 0x84, 0x83, 0x82, 0x83, 0x84, 0x83, 0x82, 0x82, 0x83, 0x82, 0x82, 0x86,
0x88, 0x89, 0x89, 0x89, 0x87, 0x85, 0x84, 0x84, 0x84, 0x85, 0x88, 0x8d, 0x92, 0x92, 0x90, 0x8e,
0x8b, 0x87, 0x84, 0x82, 0x81, 0x80, 0x80, 0x81, 0x81, 0x80, 0x7e, 0x7c, 0x7b, 0x79, 0x78, 0x7b,
0x7e, 0x7e, 0x7b, 0x79, 0x78, 0x75, 0x73, 0x74, 0x75, 0x73, 0x72, 0x73, 0x76, 0x78, 0x77, 0x79,
0x7d, 0x7c, 0x7a, 0x7b, 0x7d, 0x7f, 0x7e, 0x7f, 0x81, 0x80, 0x7e, 0x7e, 0x80, 0x81, 0x81, 0x81,
0x84, 0x85, 0x83, 0x82, 0x84, 0x86, 0x86, 0x86, 0x8a, 0x8c, 0x8b, 0x8b, 0x8d, 0x8e, 0x8c, 0x8a,
0x8b, 0x8c, 0x89, 0x88, 0x89, 0x8a, 0x89, 0x86, 0x87, 0x88, 0x86, 0x84, 0x84, 0x83, 0x81, 0x80,
0x81, 0x85, 0x86, 0x85, 0x85, 0x83, 0x80, 0x7c, 0x7b, 0x7d, 0x7b, 0x78, 0x76, 0x74, 0x72, 0x6f,
0x6f, 0x72, 0x71, 0x6f, 0x6f, 0x71, 0x72, 0x72, 0x73, 0x77, 0x78, 0x76, 0x76, 0x79, 0x7a, 0x79,
0x78, 0x7a, 0x7b, 0x79, 0x78, 0x7a, 0x7a, 0x78, 0x76, 0x78, 0x7d, 0x7e, 0x80, 0x86, 0x89, 0x89,
0x88, 0x89, 0x8c, 0x8d, 0x8d, 0x91, 0x93, 0x91, 0x8e, 0x8b, 0x8c, 0x8b, 0x87, 0x89, 0x8d, 0x8c,
0x8c, 0x8d, 0x91, 0x93, 0x90, 0x90, 0x94, 0x94, 0x93, 0x95, 0x97, 0x96, 0x92, 0x8f, 0x91, 0x90,
0x8c, 0x8a, 0x88, 0x85, 0x80, 0x7d, 0x80, 0x83, 0x82, 0x81, 0x83, 0x82, 0x7f, 0x7c, 0x80, 0x82,
0x81, 0x80, 0x80, 0x7f, 0x7b, 0x77, 0x77, 0x78, 0x75, 0x72, 0x74, 0x77, 0x77, 0x77, 0x79, 0x7d,
0x7c, 0x7a, 0x7d, 0x80, 0x80, 0x7f, 0x80, 0x83, 0x81, 0x7f, 0x80, 0x82, 0x80, 0x7c, 0x7b, 0x7d,
0x7d, 0x7c, 0x7f, 0x84, 0x84, 0x82, 0x82, 0x86, 0x89, 0x89, 0x8c, 0x92, 0x92, 0x8f, 0x8e, 0x90,
0x90, 0x8c, 0x8b, 0x8d, 0x8d, 0x8c, 0x8d, 0x92, 0x93, 0x90, 0x8e, 0x90, 0x92, 0x91, 0x93, 0x98,
0x9a, 0x98, 0x94, 0x95, 0x95, 0x92, 0x8f, 0x90, 0x8f, 0x8a, 0x85, 0x86, 0x88, 0x85, 0x83, 0x85,
0x86, 0x83, 0x81, 0x84, 0x88, 0x88, 0x87, 0x89, 0x8a, 0x88, 0x84, 0x84, 0x84, 0x80, 0x7b, 0x7b,
0x7d, 0x7c, 0x79, 0x79, 0x7b, 0x78, 0x74, 0x75, 0x7a, 0x7d, 0x7d, 0x7f, 0x82, 0x81, 0x7f, 0x7f,
0x82, 0x82, 0x80, 0x7e, 0x7f, 0x7e, 0x7b, 0x7b, 0x7e, 0x7e, 0x7b, 0x7a, 0x7e, 0x7f, 0x7e, 0x80,
0x86, 0x89, 0x87, 0x88, 0x8c, 0x8e, 0x8b, 0x89, 0x8c, 0x8d, 0x8a, 0x8b, 0x8e, 0x90, 0x8c, 0x89,
0x8a, 0x8b, 0x88, 0x89, 0x8e, 0x92, 0x91, 0x8f, 0x92, 0x93, 0x90, 0x8e, 0x91, 0x93, 0x8f, 0x8c,
0x8e, 0x8f, 0x8b, 0x87, 0x87, 0x89, 0x85, 0x82, 0x85, 0x8a, 0x89, 0x86, 0x88, 0x8a, 0x89, 0x86,
0x88, 0x8b, 0x88, 0x83, 0x82, 0x84, 0x82, 0x7f, 0x7e, 0x7f, 0x7a, 0x73, 0x72, 0x74, 0x75, 0x74,
0x76, 0x7b, 0x7b, 0x78, 0x78, 0x7d, 0x7e, 0x7c, 0x7d, 0x80, 0x80, 0x7d, 0x7b, 0x7c, 0x7b, 0x75,
0x72, 0x73, 0x75, 0x73, 0x73, 0x77, 0x79, 0x77, 0x77, 0x7b, 0x7f, 0x80, 0x80, 0x83, 0x85, 0x83,
0x83, 0x87, 0x89, 0x87, 0x83, 0x83, 0x83, 0x80, 0x7f, 0x81, 0x85, 0x85, 0x83, 0x86, 0x89, 0x88,
0x87, 0x8b, 0x8f, 0x8f, 0x8e, 0x90, 0x93, 0x92, 0x8d, 0x8c, 0x8b, 0x88, 0x84, 0x84, 0x87, 0x88,
0x85, 0x84, 0x85, 0x84, 0x81, 0x82, 0x87, 0x88, 0x85, 0x85, 0x87, 0x86, 0x83, 0x81, 0x82, 0x80,
0x7a, 0x76, 0x76, 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 0x75, 0x73, 0x70, 0x70, 0x70, 0x70, 0x6f, 0x6f,
0x71, 0x71, 0x6f, 0x71, 0x73, 0x74, 0x74, 0x75, 0x79, 0x7b, 0x7a, 0x7c, 0x7f, 0x80, 0x7e, 0x7e,
0x80, 0x80, 0x7e, 0x7e, 0x80, 0x80, 0x7f, 0x7f, 0x80, 0x82, 0x81, 0x81, 0x83, 0x85, 0x85, 0x86,
0x8a, 0x8d, 0x8c, 0x8b, 0x8c, 0x8b, 0x89, 0x87, 0x88, 0x89, 0x86, 0x83, 0x84, 0x83, 0x81, 0x80,
0x80, 0x81, 0x81, 0x80, 0x82, 0x84, 0x84, 0x83, 0x83, 0x83, 0x82, 0x80, 0x80, 0x81, 0x7f, 0x7b,
0x7a, 0x79, 0x78, 0x75, 0x74, 0x75, 0x73, 0x71, 0x71, 0x72, 0x73, 0x74, 0x74, 0x76, 0x76, 0x74,
0x74, 0x75, 0x75, 0x73, 0x73, 0x74, 0x73, 0x71, 0x70, 0x71, 0x71, 0x70, 0x70, 0x72, 0x74, 0x74,
0x76, 0x79, 0x7a, 0x7a, 0x7b, 0x7d, 0x7f, 0x7f, 0x80, 0x80, 0x80, 0x80, 0x7f, 0x80, 0x81, 0x80,
0x80, 0x81, 0x82, 0x81, 0x82, 0x85, 0x88, 0x88, 0x88, 0x8b, 0x8c, 0x8c, 0x8c, 0x8d, 0x8e, 0x8d,
0x8b, 0x8b, 0x8c, 0x89, 0x87, 0x86, 0x86, 0x84, 0x82, 0x83, 0x86, 0x86, 0x85, 0x85, 0x86, 0x86,
0x84, 0x84, 0x87, 0x86, 0x84, 0x83, 0x82, 0x80, 0x7e, 0x7c, 0x7c, 0x7a, 0x77, 0x75, 0x76, 0x76,
0x75, 0x74, 0x76, 0x76, 0x75, 0x75, 0x76, 0x77, 0x77, 0x77, 0x77, 0x77, 0x75, 0x74, 0x75, 0x74,
0x72, 0x70, 0x70, 0x71, 0x70, 0x71, 0x73, 0x74, 0x74, 0x74, 0x76, 0x79, 0x7a, 0x7c, 0x7f, 0x80,
0x80, 0x80, 0x80, 0x82, 0x81, 0x80, 0x81, 0x82, 0x82, 0x81, 0x83, 0x85, 0x85, 0x84, 0x86, 0x88,
0x89, 0x89, 0x8c, 0x8e, 0x8f, 0x8e, 0x8e, 0x90, 0x8f, 0x8e, 0x8d, 0x8d, 0x8c, 0x88, 0x88, 0x89,
0x89, 0x87, 0x87, 0x87, 0x87, 0x85, 0x85, 0x88, 0x8a, 0x89, 0x88, 0x89, 0x89, 0x86, 0x84, 0x84,
0x83, 0x80, 0x7e, 0x7e, 0x7d, 0x7b, 0x78, 0x77, 0x77, 0x75, 0x73, 0x75, 0x77, 0x78, 0x77, 0x78,
0x79, 0x78, 0x77, 0x77, 0x78, 0x77, 0x75, 0x75, 0x74, 0x73, 0x71, 0x71, 0x72, 0x72, 0x70, 0x70,
0x72, 0x73, 0x75, 0x78, 0x7b, 0x7c, 0x7d, 0x7f, 0x80, 0x81, 0x81, 0x83, 0x84, 0x84, 0x84, 0x85,
0x85, 0x84, 0x83, 0x83, 0x84, 0x84, 0x85, 0x87, 0x8a, 0x8b, 0x8b, 0x8c, 0x8f, 0x90, 0x8f, 0x91,
0x93, 0x92, 0x90, 0x8f, 0x90, 0x8f, 0x8c, 0x8b, 0x8b, 0x8a, 0x88, 0x87, 0x89, 0x8a, 0x89, 0x89,
0x8a, 0x8b, 0x89, 0x88, 0x89, 0x8a, 0x88, 0x85, 0x85, 0x85, 0x82, 0x80, 0x7f, 0x7e, 0x7a, 0x77,
0x77, 0x78, 0x78, 0x77, 0x78, 0x79, 0x78, 0x76, 0x77, 0x79, 0x7a, 0x79, 0x78, 0x79, 0x79, 0x76,
0x75, 0x75, 0x73, 0x71, 0x6f, 0x70, 0x71, 0x70, 0x71, 0x73, 0x74, 0x74, 0x77, 0x79, 0x7c, 0x7e,
0x80, 0x81, 0x82, 0x83, 0x85, 0x85, 0x86, 0x85, 0x84, 0x84, 0x84, 0x83, 0x84, 0x86, 0x87, 0x87,
0x87, 0x88, 0x89, 0x8a, 0x8c, 0x90, 0x91, 0x92, 0x93, 0x94, 0x94, 0x92, 0x92, 0x92, 0x91, 0x8f,
0x8e, 0x8e, 0x8e, 0x8c, 0x8a, 0x8b, 0x8c, 0x8c, 0x8c, 0x8d, 0x8f, 0x8d, 0x8c, 0x8e, 0x8e, 0x8c,
0x8b, 0x8a, 0x89, 0x86, 0x84, 0x84, 0x85, 0x83, 0x80, 0x7e, 0x7d, 0x7b, 0x78, 0x79, 0x7c, 0x7f,
0x81, 0x84, 0x86, 0x85, 0x82, 0x7f, 0x7e, 0x7b, 0x77, 0x74, 0x73, 0x74, 0x73, 0x71, 0x6f, 0x6d,
0x6b, 0x69, 0x69, 0x6d, 0x72, 0x74, 0x76, 0x78, 0x78, 0x78, 0x78, 0x7b, 0x7d, 0x7c, 0x7b, 0x7c,
0x7e, 0x7f, 0x7f, 0x80, 0x80, 0x80, 0x80, 0x80, 0x81, 0x84, 0x85, 0x88, 0x8b, 0x8d, 0x8f, 0x90,
0x92, 0x94, 0x95, 0x95, 0x97, 0x97, 0x97, 0x97, 0x95, 0x94, 0x93, 0x92, 0x91, 0x92, 0x93, 0x94,
0x94, 0x94, 0x94, 0x93, 0x93, 0x93, 0x93, 0x92, 0x92, 0x91, 0x8f, 0x8d, 0x8c, 0x89, 0x87, 0x84,
0x81, 0x7f, 0x7c, 0x7c, 0x7e, 0x7f, 0x7f, 0x7f, 0x7f, 0x7e, 0x7d, 0x7b, 0x7a, 0x79, 0x77, 0x75,
0x75, 0x75, 0x74, 0x71, 0x70, 0x6e, 0x6a, 0x66, 0x67, 0x69, 0x69, 0x6b, 0x70, 0x78, 0x7c, 0x7c,
0x7e, 0x80, 0x80, 0x7f, 0x7f, 0x80, 0x81, 0x80, 0x7f, 0x81, 0x81, 0x7d, 0x7a, 0x7b, 0x7d, 0x7c,
0x7e, 0x85, 0x8a, 0x8a, 0x89, 0x8b, 0x8e, 0x8e, 0x8f, 0x93, 0x97, 0x97, 0x94, 0x95, 0x97, 0x95,
0x92, 0x93, 0x95, 0x95, 0x93, 0x94, 0x97, 0x98, 0x96, 0x96, 0x99, 0x9a, 0x99, 0x99, 0x9b, 0x9c,
0x9b, 0x9a, 0x9a, 0x99, 0x95, 0x90, 0x8d, 0x8a, 0x87, 0x85, 0x86, 0x87, 0x86, 0x85, 0x83, 0x83,
0x82, 0x81, 0x82, 0x83, 0x81, 0x81, 0x80, 0x7f, 0x7c, 0x78, 0x77, 0x74, 0x6f, 0x6d, 0x6d, 0x6c,
0x6a, 0x6a, 0x6c, 0x6e, 0x6f, 0x71, 0x75, 0x77, 0x76, 0x76, 0x7a, 0x7d, 0x7d, 0x7d, 0x7e, 0x7c,
0x77, 0x73, 0x74, 0x76, 0x76, 0x75, 0x78, 0x7a, 0x79, 0x79, 0x7d, 0x82, 0x85, 0x88, 0x8d, 0x92,
0x94, 0x95, 0x97, 0x9a, 0x9a, 0x97, 0x97, 0x98, 0x98, 0x97, 0x96, 0x97, 0x97, 0x96, 0x95, 0x99,
0x9c, 0x9f, 0xa1, 0xa2, 0xa4, 0xa5, 0xa5, 0xa7, 0xa8, 0xa7, 0xa5, 0xa1, 0x9c, 0x99, 0x96, 0x93,
0x92, 0x91, 0x8f, 0x8c, 0x8a, 0x8a, 0x8b, 0x8b, 0x8b, 0x8d, 0x8f, 0x8f, 0x8e, 0x8d, 0x8d, 0x8a,
0x84, 0x81, 0x81, 0x80, 0x7b, 0x76, 0x73, 0x6f, 0x68, 0x66, 0x6a, 0x6d, 0x6c, 0x6d, 0x70, 0x72,
0x72, 0x73, 0x79, 0x7e, 0x7e, 0x7c, 0x7c, 0x7d, 0x7c, 0x79, 0x7a, 0x7c, 0x79, 0x75, 0x76, 0x79,
0x7a, 0x7a, 0x7f, 0x83, 0x86, 0x88, 0x8c, 0x92, 0x94, 0x94, 0x97, 0x9a, 0x9c, 0x9d, 0x9e, 0x9f,
0x9d, 0x98, 0x95, 0x94, 0x93, 0x93, 0x96, 0x98, 0x99, 0x98, 0x99, 0x9c, 0x9d, 0x9f, 0xa3, 0xa5,
0xa3, 0xa2, 0xa2, 0xa4, 0xa1, 0x9d, 0x9b, 0x9a, 0x95, 0x92, 0x92, 0x94, 0x92, 0x8d, 0x8c, 0x8e,
0x8d, 0x8b, 0x8e, 0x92, 0x91, 0x8c, 0x8a, 0x8d, 0x8b, 0x87, 0x85, 0x84, 0x80, 0x76, 0x70, 0x71,
0x71, 0x6d, 0x6c, 0x6f, 0x70, 0x6c, 0x6b, 0x71, 0x76, 0x76, 0x77, 0x7c, 0x80, 0x80, 0x7d, 0x80,
0x80, 0x7c, 0x77, 0x76, 0x78, 0x78, 0x74, 0x75, 0x78, 0x75, 0x73, 0x76, 0x7c, 0x80, 0x81, 0x84,
0x8a, 0x8b, 0x8d, 0x92, 0x97, 0x98, 0x96, 0x93, 0x93, 0x91, 0x8e, 0x90, 0x92, 0x91, 0x8e, 0x8c,
0x8d, 0x8e, 0x8d, 0x90, 0x95, 0x97, 0x99, 0x9c, 0xa1, 0xa2, 0x9f, 0x9e, 0x9f, 0x9c, 0x99, 0x99,
0x9a, 0x99, 0x93, 0x8f, 0x8d, 0x89, 0x84, 0x85, 0x89, 0x8a, 0x86, 0x85, 0x88, 0x89, 0x85, 0x85,
0x88, 0x87, 0x80, 0x7b, 0x7d, 0x7c, 0x77, 0x73, 0x73, 0x72, 0x6c, 0x66, 0x6a, 0x6e, 0x6b, 0x69,
0x6d, 0x73, 0x73, 0x72, 0x76, 0x7c, 0x78, 0x72, 0x73, 0x77, 0x77, 0x74, 0x75, 0x78, 0x73, 0x6a,
0x69, 0x6e, 0x6f, 0x6e, 0x71, 0x79, 0x7d, 0x7b, 0x7e, 0x85, 0x89, 0x88, 0x89, 0x8e, 0x90, 0x8e,
0x8d, 0x90, 0x8f, 0x89, 0x84, 0x85, 0x86, 0x83, 0x83, 0x86, 0x87, 0x86, 0x87, 0x8d, 0x92, 0x92,
0x93, 0x95, 0x95, 0x93, 0x94, 0x98, 0x9a, 0x97, 0x92, 0x8f, 0x8b, 0x84, 0x80, 0x82, 0x83, 0x80,
0x7e, 0x80, 0x80, 0x7d, 0x7c, 0x7f, 0x80, 0x7f, 0x7d, 0x80, 0x83, 0x80, 0x7c, 0x7b, 0x79, 0x73,
0x6d, 0x6d, 0x6f, 0x6c, 0x67, 0x67, 0x69, 0x67, 0x64, 0x67, 0x6c, 0x6d, 0x6a, 0x6b, 0x71, 0x74,
0x72, 0x74, 0x77, 0x76, 0x70, 0x6c, 0x6e, 0x6f, 0x6b, 0x6a, 0x6d, 0x6f, 0x6d, 0x6c, 0x70, 0x75,
0x75, 0x76, 0x7b, 0x80, 0x82, 0x84, 0x87, 0x8b, 0x89, 0x84, 0x83, 0x83, 0x82, 0x80, 0x80, 0x82,
0x80, 0x7d, 0x7d, 0x80, 0x81, 0x81, 0x83, 0x87, 0x89, 0x8c, 0x8e, 0x92, 0x94, 0x94, 0x91, 0x90,
0x8d, 0x8b, 0x89, 0x87, 0x85, 0x82, 0x7f, 0x7c, 0x7a, 0x78, 0x77, 0x76, 0x76, 0x77, 0x79, 0x7b,
0x7d, 0x7e, 0x7e, 0x7d, 0x79, 0x76, 0x75, 0x75, 0x75, 0x72, 0x6f, 0x6d, 0x68, 0x64, 0x63, 0x62,
0x62, 0x61, 0x61, 0x64, 0x67, 0x67, 0x69, 0x6d, 0x6d, 0x6d, 0x6d, 0x6f, 0x72, 0x71, 0x70, 0x71,
0x70, 0x6e, 0x6c, 0x6c, 0x6d, 0x6d, 0x6d, 0x6f, 0x73, 0x76, 0x78, 0x7a, 0x7e, 0x80, 0x7f, 0x7f,
0x81, 0x84, 0x84, 0x84, 0x85, 0x85, 0x82, 0x80, 0x7e, 0x7f, 0x7f, 0x7d, 0x7d, 0x80, 0x80, 0x82,
0x83, 0x86, 0x8a, 0x89, 0x88, 0x8b, 0x8c, 0x8d, 0x8c, 0x8b, 0x8b, 0x87, 0x82, 0x80, 0x7f, 0x7c,
0x79, 0x76, 0x75, 0x76, 0x74, 0x74, 0x77, 0x78, 0x77, 0x76, 0x78, 0x7a, 0x7a, 0x7a, 0x7b, 0x7a,
0x78, 0x74, 0x71, 0x70, 0x6c, 0x68, 0x66, 0x65, 0x64, 0x62, 0x62, 0x63, 0x64, 0x64, 0x64, 0x66,
0x69, 0x6b, 0x6e, 0x71, 0x74, 0x74, 0x73, 0x73, 0x73, 0x72, 0x72, 0x71, 0x71, 0x71, 0x71, 0x72,
0x73, 0x74, 0x74, 0x75, 0x77, 0x79, 0x7c, 0x7f, 0x80, 0x82, 0x83, 0x84, 0x83, 0x82, 0x82, 0x83,
0x81, 0x80, 0x80, 0x81, 0x80, 0x80, 0x81, 0x82, 0x82, 0x81, 0x84, 0x88, 0x89, 0x8a, 0x8c, 0x8e,
0x8d, 0x8a, 0x88, 0x89, 0x88, 0x83, 0x81, 0x81, 0x80, 0x7c, 0x79, 0x79, 0x7a, 0x76, 0x74, 0x76,
0x77, 0x77, 0x77, 0x79, 0x7d, 0x7c, 0x79, 0x79, 0x7a, 0x77, 0x73, 0x71, 0x71, 0x6f, 0x69, 0x67,
0x68, 0x65, 0x60, 0x5f, 0x61, 0x62, 0x62, 0x64, 0x68, 0x6c, 0x6c, 0x6d, 0x70, 0x73, 0x74, 0x74,
0x76, 0x77, 0x77, 0x76, 0x76, 0x77, 0x75, 0x73, 0x73, 0x73, 0x73, 0x75, 0x77, 0x7a, 0x7c, 0x7d,
0x80, 0x80, 0x80, 0x83, 0x85, 0x86, 0x87, 0x87, 0x89, 0x88, 0x86, 0x86, 0x86, 0x84, 0x83, 0x82,
0x84, 0x86, 0x85, 0x86, 0x89, 0x89, 0x88, 0x88, 0x8a, 0x8c, 0x89, 0x87, 0x8b, 0x8a, 0x86, 0x83,
0x83, 0x82, 0x7f, 0x7a, 0x7b, 0x7c, 0x7a, 0x78, 0x79, 0x7b, 0x7a, 0x77, 0x78, 0x7c, 0x7b, 0x78,
0x78, 0x7b, 0x7a, 0x75, 0x73, 0x74, 0x72, 0x6c, 0x68, 0x68, 0x68, 0x64, 0x63, 0x66, 0x68, 0x67,
0x66, 0x69, 0x6d, 0x6e, 0x6f, 0x73, 0x77, 0x78, 0x78, 0x7a, 0x7c, 0x7c, 0x79, 0x78, 0x78, 0x77,
0x76, 0x75, 0x76, 0x78, 0x77, 0x77, 0x79, 0x7b, 0x7c, 0x7e, 0x80, 0x82, 0x85, 0x87, 0x8a, 0x8b,
0x8a, 0x8a, 0x88, 0x87, 0x88, 0x87, 0x86, 0x86, 0x86, 0x86, 0x85, 0x83, 0x84, 0x86, 0x86, 0x87,
0x89, 0x8b, 0x8b, 0x8b, 0x8b, 0x8b, 0x8a, 0x87, 0x85, 0x86, 0x86, 0x82, 0x80, 0x80, 0x80, 0x7e,
0x7b, 0x7b, 0x7b, 0x7a, 0x79, 0x7a, 0x7d, 0x7d, 0x7b, 0x7c, 0x7d, 0x7b, 0x77, 0x74, 0x74, 0x74,
0x70, 0x6e, 0x6f, 0x6e, 0x6a, 0x68, 0x69, 0x6a, 0x6a, 0x69, 0x6c, 0x6f, 0x71, 0x73, 0x76, 0x79,
0x7b, 0x79, 0x79, 0x7c, 0x7d, 0x7b, 0x7a, 0x7a, 0x7a, 0x79, 0x77, 0x77, 0x79, 0x79, 0x79, 0x7a,
0x7d, 0x7f, 0x80, 0x82, 0x86, 0x89, 0x89, 0x8a, 0x8b, 0x8c, 0x8c, 0x8b, 0x8c, 0x8d, 0x8a, 0x87,
0x87, 0x88, 0x86, 0x84, 0x84, 0x86, 0x87, 0x86, 0x87, 0x8a, 0x8c, 0x8b, 0x89, 0x8a, 0x8c, 0x8b,
0x89, 0x8a, 0x8a, 0x88, 0x85, 0x82, 0x82, 0x82, 0x80, 0x7e, 0x7e, 0x7d, 0x7b, 0x7b, 0x7c, 0x7d,
0x7d, 0x7b, 0x7b, 0x7c, 0x7a, 0x78, 0x77, 0x77, 0x75, 0x72, 0x71, 0x72, 0x70, 0x6d, 0x6b, 0x6b,
0x6d, 0x6e, 0x6e, 0x70, 0x72, 0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