├── .DS_Store ├── src ├── Fonts │ ├── FontCustomScript │ │ ├── font.txt │ │ ├── config.txt │ │ ├── text.txt │ │ ├── font │ │ │ ├── .DS_Store │ │ │ ├── SIMKAIFont24pt.h │ │ │ ├── CN_tryagainBB_9_9_1_9Font24pt.h │ │ │ ├── SIMKAIFont12pt.h │ │ │ ├── CN_loadingBB_9_9_1_9Font24pt.h │ │ │ ├── CN_brandBB_9_9_1_9Font24pt.h │ │ │ ├── CN_listeningBB_9_9_1_9Font24pt.h │ │ │ ├── CN_analysingBB_9_9_1_9Font24pt.h │ │ │ ├── CN_recording_failedBB_9_9_1_9Font24pt.h │ │ │ ├── CN_tryagainBB_9_9_1_9Font36pt.h │ │ │ ├── SIMKAIFont18pt.h │ │ │ ├── CN_tiredBB_9_9_1_9Font36pt.h │ │ │ ├── CN_cuddleBB_9_9_1_9Font36pt.h │ │ │ ├── CN_sleepingBB_9_9_1_9Font24pt.h │ │ │ ├── CN_hungryBB_9_9_1_9Font36pt.h │ │ │ ├── CN_sleepinginBB_9_9_1_9Font24pt.h │ │ │ ├── CN_analyzeBB_9_9_1_9Font24pt.h │ │ │ ├── CN_analysis_failedBB_9_9_1_9Font24pt.h │ │ │ ├── malgunFont24pt.h │ │ │ ├── CN_stayawakeBB_9_9_1_9Font24pt.h │ │ │ ├── CN_loadingBB_9_9_1_9Font36pt.h │ │ │ ├── CN_brandBB_9_9_1_9Font36pt.h │ │ │ ├── CN_prokidoBB_9_9_1_9Font36pt.h │ │ │ ├── CN_uncertainBB_9_9_1_9Font36pt.h │ │ │ ├── CN_sickBB_9_9_1_9Font36pt.h │ │ │ ├── CN_recording_failedBB_9_9_1_9Font36pt.h │ │ │ ├── CN_listeningBB_9_9_1_9Font36pt.h │ │ │ ├── CN_discomfortBB_9_9_1_9Font36pt.h │ │ │ └── CN_analysingBB_9_9_1_9Font36pt.h │ │ ├── ttf │ │ │ └── malgun.ttf │ │ ├── requirements.txt │ │ └── README.md │ ├── Fonts │ │ ├── .DS_Store │ │ ├── flashFont.h │ │ ├── CN_tryagainBB_9_9_1_9Font24pt.h │ │ ├── SIMKAIFont12pt.h │ │ ├── CN_loadingBB_9_9_1_9Font24pt.h │ │ ├── CN_brandBB_9_9_1_9Font24pt.h │ │ ├── CN_listeningBB_9_9_1_9Font24pt.h │ │ ├── CN_analysingBB_9_9_1_9Font24pt.h │ │ ├── CN_recording_failedBB_9_9_1_9Font24pt.h │ │ ├── CN_tryagainBB_9_9_1_9Font36pt.h │ │ ├── SIMKAIFont18pt.h │ │ ├── CN_tiredBB_9_9_1_9Font36pt.h │ │ ├── CN_cuddleBB_9_9_1_9Font36pt.h │ │ ├── CN_sleepingBB_9_9_1_9Font24pt.h │ │ ├── CN_hungryBB_9_9_1_9Font36pt.h │ │ ├── CN_sleepinginBB_9_9_1_9Font24pt.h │ │ ├── CN_analyzeBB_9_9_1_9Font24pt.h │ │ ├── CN_analysis_failedBB_9_9_1_9Font24pt.h │ │ ├── malgunFont24pt.h │ │ ├── CN_stayawakeBB_9_9_1_9Font24pt.h │ │ ├── CN_loadingBB_9_9_1_9Font36pt.h │ │ ├── CN_brandBB_9_9_1_9Font36pt.h │ │ ├── CN_prokidoBB_9_9_1_9Font36pt.h │ │ ├── CN_uncertainBB_9_9_1_9Font36pt.h │ │ ├── CN_sickBB_9_9_1_9Font36pt.h │ │ ├── CN_recording_failedBB_9_9_1_9Font36pt.h │ │ ├── CN_listeningBB_9_9_1_9Font36pt.h │ │ ├── CN_discomfortBB_9_9_1_9Font36pt.h │ │ ├── CN_analysingBB_9_9_1_9Font36pt.h │ │ └── CN_sleepingBB_9_9_1_9Font36pt.h │ ├── gdlFontDef.h │ └── DFRobot_Font.h ├── Frame │ ├── fontconvert │ │ ├── Makefile │ │ └── makefonts.sh │ └── gfxfont.h ├── Drivers │ ├── DFRobot_ST7796S.h │ ├── DFRobot_ST7365P.h │ ├── DFRobot_ILI9488.h │ ├── DFRobot_ST7789.h │ ├── DFRobot_LCDType.h │ ├── DFRobot_ILI9341.h │ └── DFRobot_SSD1306.h ├── TouchDrivers │ ├── DFRobot_GT911.h │ └── DFRobot_GT5688.h ├── DFRobot_Type.h ├── graphic.h └── Interface │ └── DFRobot_DMA.h ├── image ├── 1.jpg ├── 2.jpg ├── 3.jpg ├── 4.jpg ├── 5.jpg ├── 6.jpg ├── Rect.jpg ├── Circle.jpg ├── Triangle.jpg └── picture.jpg ├── examples ├── ST7735_128×160 │ ├── .DS_Store │ ├── SD │ │ └── picture │ │ │ ├── 219x220.jpg │ │ │ ├── 448x448.bmp │ │ │ ├── 800x700.bmp │ │ │ ├── Icon │ │ │ ├── 1.bmp │ │ │ ├── 10.bmp │ │ │ ├── 11.bmp │ │ │ ├── 12.bmp │ │ │ ├── 13.bmp │ │ │ ├── 14.bmp │ │ │ ├── 15.bmp │ │ │ ├── 16.bmp │ │ │ ├── 17.bmp │ │ │ ├── 18.bmp │ │ │ ├── 19.bmp │ │ │ ├── 2.bmp │ │ │ ├── 20.bmp │ │ │ ├── 21.bmp │ │ │ ├── 22.bmp │ │ │ ├── 23.bmp │ │ │ ├── 24.bmp │ │ │ ├── 25.bmp │ │ │ ├── 26.bmp │ │ │ ├── 27.bmp │ │ │ ├── 28.bmp │ │ │ ├── 29.bmp │ │ │ ├── 3.bmp │ │ │ ├── 30.bmp │ │ │ ├── 31.bmp │ │ │ ├── 32.bmp │ │ │ ├── 33.bmp │ │ │ ├── 34.bmp │ │ │ ├── 35.bmp │ │ │ ├── 36.bmp │ │ │ ├── 37.bmp │ │ │ ├── 4.bmp │ │ │ ├── 5.bmp │ │ │ ├── 6.bmp │ │ │ ├── 7.bmp │ │ │ ├── 8.bmp │ │ │ └── 9.bmp │ │ │ └── RGB565.bmp │ └── UI_coord │ │ └── UI_coord.ino ├── Basic │ └── SD │ │ └── picture │ │ ├── Icon │ │ ├── 1.bmp │ │ ├── 2.bmp │ │ ├── 3.bmp │ │ ├── 4.bmp │ │ ├── 5.bmp │ │ ├── 6.bmp │ │ ├── 7.bmp │ │ ├── 8.bmp │ │ ├── 9.bmp │ │ ├── 10.bmp │ │ ├── 11.bmp │ │ ├── 12.bmp │ │ ├── 13.bmp │ │ ├── 14.bmp │ │ ├── 15.bmp │ │ ├── 16.bmp │ │ ├── 17.bmp │ │ ├── 18.bmp │ │ ├── 19.bmp │ │ ├── 20.bmp │ │ ├── 21.bmp │ │ ├── 22.bmp │ │ ├── 23.bmp │ │ ├── 24.bmp │ │ ├── 25.bmp │ │ ├── 26.bmp │ │ ├── 27.bmp │ │ ├── 28.bmp │ │ ├── 29.bmp │ │ ├── 30.bmp │ │ ├── 31.bmp │ │ ├── 32.bmp │ │ ├── 33.bmp │ │ ├── 34.bmp │ │ ├── 35.bmp │ │ ├── 36.bmp │ │ └── 37.bmp │ │ ├── RGB565.bmp │ │ ├── 219x220.jpg │ │ ├── 448x448.bmp │ │ └── 800x700.bmp ├── ST7735_80x160 │ ├── SD │ │ └── picture │ │ │ ├── Icon │ │ │ ├── 1.bmp │ │ │ ├── 2.bmp │ │ │ ├── 3.bmp │ │ │ ├── 4.bmp │ │ │ ├── 5.bmp │ │ │ ├── 6.bmp │ │ │ ├── 7.bmp │ │ │ ├── 8.bmp │ │ │ ├── 9.bmp │ │ │ ├── 10.bmp │ │ │ ├── 11.bmp │ │ │ ├── 12.bmp │ │ │ ├── 13.bmp │ │ │ ├── 14.bmp │ │ │ ├── 15.bmp │ │ │ ├── 16.bmp │ │ │ ├── 17.bmp │ │ │ ├── 18.bmp │ │ │ ├── 19.bmp │ │ │ ├── 20.bmp │ │ │ ├── 21.bmp │ │ │ ├── 22.bmp │ │ │ ├── 23.bmp │ │ │ ├── 24.bmp │ │ │ ├── 25.bmp │ │ │ ├── 26.bmp │ │ │ ├── 27.bmp │ │ │ ├── 28.bmp │ │ │ ├── 29.bmp │ │ │ ├── 30.bmp │ │ │ ├── 31.bmp │ │ │ ├── 32.bmp │ │ │ ├── 33.bmp │ │ │ ├── 34.bmp │ │ │ ├── 35.bmp │ │ │ ├── 36.bmp │ │ │ └── 37.bmp │ │ │ ├── RGB565.bmp │ │ │ ├── 219x220.jpg │ │ │ ├── 448x448.bmp │ │ │ └── 800x700.bmp │ ├── UI_coord │ │ └── UI_coord.ino │ └── flashFont │ │ └── flashFont.ino ├── Touch_ILI9488_320x480 │ ├── UI_keyPad │ │ └── UI_keyPad.ino │ └── UI_coord │ │ └── UI_coord.ino ├── Touch_ST7789_240x204 │ ├── UI_coord │ │ └── UI_coord.ino │ └── UI_keyPad │ │ └── UI_keyPad.ino ├── Touch_ST7365P_320x480 │ ├── UI_keyPad │ │ └── UI_keyPad.ino │ └── UI_coord │ │ └── UI_coord.ino ├── Touch_ILI9341_240x320 │ └── UI_keyPad │ │ └── UI_keyPad.ino └── ST7789_172X320 │ └── UI_coord │ └── UI_coord.ino ├── .gitignore ├── library.properties ├── LICENCE └── library.json /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/.DS_Store -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font.txt: -------------------------------------------------------------------------------- 1 | #include "Fonts/malgunFont24pt.h" 2 | -------------------------------------------------------------------------------- /image/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/image/1.jpg -------------------------------------------------------------------------------- /image/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/image/2.jpg -------------------------------------------------------------------------------- /image/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/image/3.jpg -------------------------------------------------------------------------------- /image/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/image/4.jpg -------------------------------------------------------------------------------- /image/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/image/5.jpg -------------------------------------------------------------------------------- /image/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/image/6.jpg -------------------------------------------------------------------------------- /image/Rect.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/image/Rect.jpg -------------------------------------------------------------------------------- /image/Circle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/image/Circle.jpg -------------------------------------------------------------------------------- /image/Triangle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/image/Triangle.jpg -------------------------------------------------------------------------------- /image/picture.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/image/picture.jpg -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/config.txt: -------------------------------------------------------------------------------- 1 | FontFileNamePre = default 2 | FontSizeList = [24] 3 | 4 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/src/Fonts/Fonts/.DS_Store -------------------------------------------------------------------------------- /examples/ST7735_128×160/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/.DS_Store -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/1.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/2.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/3.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/3.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/4.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/4.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/5.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/5.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/6.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/6.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/7.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/7.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/8.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/9.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/9.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/RGB565.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/RGB565.bmp -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/text.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/src/Fonts/FontCustomScript/text.txt -------------------------------------------------------------------------------- /examples/Basic/SD/picture/219x220.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/219x220.jpg -------------------------------------------------------------------------------- /examples/Basic/SD/picture/448x448.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/448x448.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/800x700.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/800x700.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/10.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/10.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/11.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/11.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/12.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/12.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/13.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/13.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/14.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/14.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/15.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/15.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/16.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/17.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/17.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/18.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/18.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/19.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/19.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/20.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/20.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/21.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/21.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/22.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/22.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/23.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/23.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/24.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/25.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/25.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/26.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/26.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/27.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/27.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/28.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/28.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/29.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/29.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/30.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/30.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/31.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/31.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/32.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/33.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/33.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/34.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/34.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/35.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/35.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/36.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/36.bmp -------------------------------------------------------------------------------- /examples/Basic/SD/picture/Icon/37.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/Basic/SD/picture/Icon/37.bmp -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/src/Fonts/FontCustomScript/font/.DS_Store -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/ttf/malgun.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/src/Fonts/FontCustomScript/ttf/malgun.ttf -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/1.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/2.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/3.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/3.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/4.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/4.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/5.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/5.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/6.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/6.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/7.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/7.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/8.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/9.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/9.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/RGB565.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/RGB565.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/219x220.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/219x220.jpg -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/448x448.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/448x448.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/800x700.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/800x700.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/1.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/10.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/10.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/11.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/11.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/12.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/12.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/13.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/13.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/14.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/14.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/15.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/15.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/16.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/17.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/17.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/18.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/18.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/19.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/19.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/2.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/20.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/20.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/21.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/21.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/22.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/22.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/23.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/23.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/24.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/25.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/25.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/26.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/26.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/27.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/27.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/28.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/28.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/29.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/29.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/3.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/3.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/30.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/30.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/31.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/31.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/32.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/33.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/33.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/34.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/34.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/35.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/35.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/36.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/36.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/37.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/37.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/4.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/4.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/5.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/5.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/6.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/6.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/7.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/7.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/8.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/Icon/9.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/Icon/9.bmp -------------------------------------------------------------------------------- /examples/ST7735_128×160/SD/picture/RGB565.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_128×160/SD/picture/RGB565.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/219x220.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/219x220.jpg -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/448x448.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/448x448.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/800x700.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/800x700.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/10.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/10.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/11.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/11.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/12.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/12.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/13.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/13.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/14.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/14.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/15.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/15.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/16.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/17.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/17.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/18.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/18.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/19.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/19.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/20.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/20.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/21.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/21.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/22.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/22.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/23.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/23.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/24.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/25.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/25.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/26.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/26.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/27.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/27.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/28.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/28.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/29.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/29.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/30.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/30.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/31.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/31.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/32.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/33.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/33.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/34.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/34.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/35.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/35.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/36.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/36.bmp -------------------------------------------------------------------------------- /examples/ST7735_80x160/SD/picture/Icon/37.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DFRobot/DFRobot_GDL/HEAD/examples/ST7735_80x160/SD/picture/Icon/37.bmp -------------------------------------------------------------------------------- /src/Fonts/Fonts/flashFont.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | const gdl_Glyph_t flashFonts[] PROGMEM = { 4 | 0x0, 0, 16, 16, 0x0, 0x0, 0x10 5 | 6 | }; 7 | const gdl_Font_t flashFont PROGMEM = { 8 | NULL,(gdl_Glyph_t *)flashFonts,FONT_TYPE_FLASH,0,16 9 | }; -------------------------------------------------------------------------------- /src/Frame/fontconvert/Makefile: -------------------------------------------------------------------------------- 1 | all: fontconvert 2 | 3 | CC = gcc 4 | CFLAGS = -Wall -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I/usr/include 5 | LIBS = -lfreetype 6 | 7 | fontconvert: fontconvert.c 8 | $(CC) $(CFLAGS) $< $(LIBS) -o $@ 9 | strip $@ 10 | 11 | clean: 12 | rm -f fontconvert 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | examples/.DS_Store 2 | examples/Basic/.DS_Store 3 | examples/ST7735_128\303\227160/.DS_Store 4 | examples/ST7735_80x160/.DS_Store 5 | examples/ST7789_172X320/.DS_Store 6 | examples/Touch_ILI9341_240x320/.DS_Store 7 | examples/Touch_ILI9488_320x480/.DS_Store 8 | examples/Touch_ST7789_240x204/.DS_Store 9 | examples/interface/.DS_Store 10 | src/.DS_Store 11 | src/Fonts/.DS_Store 12 | src/Frame/.DS_Store -------------------------------------------------------------------------------- /library.properties: -------------------------------------------------------------------------------- 1 | name=DFRobot_GDL 2 | version=1.0.4 3 | author=Arya DFRobot ,pleasetakeup DFRobot 4 | maintainer=pleasetakeup DFRobot 5 | sentence=A display library. 6 | paragraph=DFRobot_GDL is a comprehensive display interaction framework that supports multiple MCUs, supporting display, touch, and UI. 7 | category=Display 8 | url=https://github.com/DFRobot/DFRobot_GDL 9 | architectures=* 10 | depends=Adafruit GFX Library (>=1.11.9) -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/requirements.txt: -------------------------------------------------------------------------------- 1 | aiofiles==22.1.0 2 | ajsonrpc==1.2.0 3 | anyio==3.6.2 4 | async-timeout==4.0.2 5 | bottle==0.12.23 6 | certifi==2022.9.24 7 | chardet==5.2.0 8 | charset-normalizer==2.1.1 9 | click==8.1.3 10 | colorama==0.4.6 11 | freetype-py==2.4.0 12 | h11==0.14.0 13 | idna==3.4 14 | ifaddr==0.2.0 15 | install==1.3.5 16 | marshmallow==3.19.0 17 | numpy==1.26.4 18 | packaging==21.3 19 | platformio==6.1.6 20 | pyelftools==0.29 21 | pyparsing==3.0.9 22 | pyserial==3.5 23 | requests==2.28.1 24 | semantic-version==2.10.0 25 | sniffio==1.3.0 26 | starlette==0.23.1 27 | tabulate==0.9.0 28 | urllib3==1.26.12 29 | uvicorn==0.20.0 30 | wsproto==1.2.0 31 | zeroconf==0.39.4 32 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/SIMKAIFont24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t SIMKAIFont24ptBitmaps[] PROGMEM = { 2 | 0xff, 0xff, 0xfd, 0x77, 0x2b, 0x77, 0x2b, 0x77, 0x2b, 0x77, 3 | 0x2b, 0x77, 0x2b, 0x77, 0x2b, 0x77, 0x2b, 0x77, 0x2b, 0x77, 4 | 0x2b, 0x77, 0x2b, 0x77, 0x2b, 0x77, 0x2b, 0x77, 0x2b, 0x77, 5 | 0x2b, 0x77, 0x2b, 0x77, 0x2b, 0x77, 0x2f, 0xff, 0xff, 0xc0, 6 | 0x0, 7 | }; 8 | 9 | const gdl_Glyph_t SIMKAIFont24ptGlyphs[] PROGMEM = { 10 | {0x0, 0x1, 0x13, 0x15, 0x2, 0x0, 0x18}, 11 | {0xc548, 0x29, 0x13, 0x15, 0x2, 0x0, 0x18}, 12 | {0} 13 | }; 14 | 15 | const gdl_Font_t SIMKAIFont24pt PROGMEM = { 16 | (uint8_t *)SIMKAIFont24ptBitmaps, 17 | (gdl_Glyph_t *)SIMKAIFont24ptGlyphs, 18 | 1, 0, 0x18, 19 | }; 20 | 21 | -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- 1 | Copyright 2010 DFRobot Co.Ltd 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /src/Drivers/DFRobot_ST7796S.h: -------------------------------------------------------------------------------- 1 | #ifndef __DFROBOT_ST7796S_H 2 | #define __DFROBOT_ST7796S_H 3 | 4 | #define ST7796S_IC_WIDTH 320 5 | #define ST7796S_IC_HEIGHT 480 6 | #define ST7796S_COLSET 0x2A 7 | #define ST7796S_RAWSET 0x2B 8 | #define ST7796S_RAMWR 0x2C 9 | #define ST7796S_MADCTL 0x36 10 | #define ST7796S_MADCTL_RGB 0x00 11 | #define ST7796S_INVOFF 0x20 12 | #define ST7796S_INVON 0x21 13 | 14 | static const uint8_t PROGMEM DFRobot_ST7796S_initCmd[] = { 15 | 0x01, 0x11, 0x80, 100, 16 | 0x01, 0xf0, 1, 0xc3, 17 | 0x01, 0xf0, 1, 0x96, 18 | 0x01, 0x36, 1, 0x48, 19 | 0x01, 0x3A, 1, 0x55, 20 | 0x01, 0xB4, 1, 0x01, 21 | 0x01, 0xB7, 1, 0xc6, 22 | 0x01, 0xe8, 8, 0x40,0x8a, 0x00, 0x00, 0x29, 0x19, 0xa5, 0x33, 23 | 0x01, 0xc2, 1, 0xa7, 24 | 0x01, 0xc5, 1, 0x3c, 25 | 0x01, 0xe0, 14,0xf0, 0x00, 0x02, 0x0a, 0x0d, 0x1d, 0x35, 0x55, 0x45, 0x3c, 0x17, 0x17, 0x18, 0x1b, 26 | 0x01, 0xe1, 14,0xf0, 0x00, 0x02, 0x07, 0x06, 0x04, 0x2e, 0x44, 0x45, 0x0b, 0x17, 0x16, 0x18, 0x1b, 27 | 0x01, 0xf0, 1, 0x3c, 28 | 0x01, 0xf0, 0x81, 100,0x69, 29 | 0x01, 0x29, 0, 30 | 0x00 31 | }; 32 | #endif 33 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_tryagainBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_tryagainBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0xff, 0xff, 0xff, 0xff, 0xfb, 0x72, 0xb7, 0x75, 0xb7, 0x5f, 3 | 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 0x4b, 0x4b, 0x4c, 0x4f, 0xfc, 4 | 0x4f, 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 0x4b, 0x4b, 0x4c, 0x2f, 5 | 0xff, 0xff, 0xff, 0xff, 0xb2, 0xb7, 0x4c, 0x4b, 0x74, 0xc4, 6 | 0xb7, 0x2e, 0x4b, 0x72, 0xe4, 0xb7, 0x2e, 0x20, 0x0, 7 | 0xb7, 0x4b, 0x2e, 0x74, 0xb2, 0xf9, 0x72, 0xb2, 0xb2, 0xb7, 8 | 0x2b, 0x2b, 0x2b, 0x72, 0xb2, 0xb7, 0xff, 0x97, 0xff, 0xe2, 9 | 0xff, 0xe7, 0x2b, 0x5d, 0x72, 0xb7, 0xb2, 0xfb, 0x7b, 0x2f, 10 | 0xb7, 0xb4, 0xb5, 0xa5, 0xb4, 0xb5, 0xa5, 0xb4, 0xb5, 0xa5, 11 | 0xb4, 0xb5, 0xa5, 0xe1, 0xb5, 0xa5, 0xe1, 0xb5, 0xa5, 0xe1, 12 | 0xb5, 0xa5, 0xfe, 0x2d, 0x2b, 0x2f, 0x94, 0xb2, 0xb2, 0xf9, 13 | 0x4b, 0x0, 14 | }; 15 | 16 | const gdl_Glyph_t CN_tryagainBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 17 | {0x0, 0x2, 0x16, 0x16, 0x0, 0x0, 0x18}, 18 | {0x518d, 0x31, 0x16, 0x16, 0x0, 0x0, 0x18}, 19 | {0x8bd5, 0x3e, 0x16, 0x16, 0x0, 0x0, 0x18}, 20 | {0} 21 | }; 22 | 23 | const gdl_Font_t CN_tryagainBB_9_9_1_9Font24pt PROGMEM = { 24 | (uint8_t *)CN_tryagainBB_9_9_1_9Font24ptBitmaps, 25 | (gdl_Glyph_t *)CN_tryagainBB_9_9_1_9Font24ptGlyphs, 26 | 1, 0, 0x18, 27 | }; 28 | 29 | -------------------------------------------------------------------------------- /library.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "DFRobot_GDL", 3 | "version": "1.0.3", 4 | "license": "Copyright 2010 DFRobot Co.Ltd", 5 | "description": "DFRobot_GDL is a comprehensive display interaction framework that supports multiple MCUs, supporting display, touch, and UI.", 6 | "keywords": "GFX, Graphics, TFT, SPI", 7 | "repository": { 8 | "type": "git", 9 | "url": "https://github.com/dattasaurabh82/DFRobot_GDL" 10 | }, 11 | "authors": [ 12 | { 13 | "name": "Xue", 14 | "url": "xue.peng@dfrobot.com", 15 | "maintainer": false 16 | }, 17 | { 18 | "name": "Li", 19 | "url": "li.feng@dfrobot.com", 20 | "maintainer": true 21 | }, 22 | { 23 | "name": "Saurabh Datta", 24 | "url": "https://github.com/dattasaurabh82", 25 | "maintainer": true 26 | }, 27 | ], 28 | "frameworks": "arduino", 29 | "platforms": [ 30 | "espressif8266", 31 | "espressif32", 32 | "atmelavr", 33 | "atmelsam", 34 | "nordicnrf51", 35 | "teensy", 36 | "nordicnrf52" 37 | ], 38 | "dependencies": { 39 | "Adafruit GFX Library": "^1.11.9" 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_tryagainBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_tryagainBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0xff, 0xff, 0xff, 0xff, 0xfb, 0x72, 0xb7, 0x75, 0xb7, 0x5f, 3 | 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 0x4b, 0x4b, 0x4c, 0x4f, 0xfc, 4 | 0x4f, 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 0x4b, 0x4b, 0x4c, 0x2f, 5 | 0xff, 0xff, 0xff, 0xff, 0xb2, 0xb7, 0x4c, 0x4b, 0x74, 0xc4, 6 | 0xb7, 0x2e, 0x4b, 0x72, 0xe4, 0xb7, 0x2e, 0x20, 0x0, 7 | 0xb7, 0x4b, 0x2e, 0x74, 0xb2, 0xf9, 0x72, 0xb2, 0xb2, 0xb7, 8 | 0x2b, 0x2b, 0x2b, 0x72, 0xb2, 0xb7, 0xff, 0x97, 0xff, 0xe2, 9 | 0xff, 0xe7, 0x2b, 0x5d, 0x72, 0xb7, 0xb2, 0xfb, 0x7b, 0x2f, 10 | 0xb7, 0xb4, 0xb5, 0xa5, 0xb4, 0xb5, 0xa5, 0xb4, 0xb5, 0xa5, 11 | 0xb4, 0xb5, 0xa5, 0xe1, 0xb5, 0xa5, 0xe1, 0xb5, 0xa5, 0xe1, 12 | 0xb5, 0xa5, 0xfe, 0x2d, 0x2b, 0x2f, 0x94, 0xb2, 0xb2, 0xf9, 13 | 0x4b, 0x0, 14 | }; 15 | 16 | const gdl_Glyph_t CN_tryagainBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 17 | {0x0, 0x2, 0x16, 0x16, 0x0, 0x0, 0x18}, 18 | {0x518d, 0x31, 0x16, 0x16, 0x0, 0x0, 0x18}, 19 | {0x8bd5, 0x3e, 0x16, 0x16, 0x0, 0x0, 0x18}, 20 | {0} 21 | }; 22 | 23 | const gdl_Font_t CN_tryagainBB_9_9_1_9Font24pt PROGMEM = { 24 | (uint8_t *)CN_tryagainBB_9_9_1_9Font24ptBitmaps, 25 | (gdl_Glyph_t *)CN_tryagainBB_9_9_1_9Font24ptGlyphs, 26 | 1, 0, 0x18, 27 | }; 28 | 29 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/SIMKAIFont12pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t SIMKAIFont12ptBitmaps[] PROGMEM = { 2 | 0x3a, 0x1a, 0x7a, 0x1a, 0x7a, 0x1a, 0x19, 0x4a, 0x1e, 0x2f, 3 | 0xb2, 0xd1, 0xa3, 0xa1, 0x91, 0x91, 0xb5, 0xb1, 0xc3, 0xc1, 4 | 0x91, 0xa3, 0xa1, 0xb7, 0x92, 0xa4, 0x0, 5 | 0x77, 0x1a, 0x2b, 0x5f, 0x94, 0xb1, 0xb2, 0xe1, 0xff, 0xb2, 6 | 0xb3, 0x96, 0xb2, 0x94, 0xd1, 0xa4, 0xa2, 0xc7, 0x3a, 0x30, 7 | 0x0, 8 | 0xe1, 0xc1, 0x0, 9 | 0x77, 0x2a, 0x1a, 0x5a, 0x1c, 0x5a, 0x1c, 0x6f, 0xfc, 0x69, 10 | 0x1c, 0x69, 0x1c, 0x69, 0x1d, 0x5f, 0x77, 0x0, 11 | 0x6b, 0x6f, 0x95, 0xf7, 0xe7, 0xd7, 0x1e, 0x6b, 0x1e, 0x2c, 12 | 0x1e, 0x1a, 0x1a, 0x1a, 0x7b, 0x1a, 0x7a, 0x2a, 0x74, 0x96, 13 | 0x0, 14 | 0xb1, 0xa1, 0xa1, 0xa1, 0xa1, 0xa1, 0x91, 0xe3, 0x0, 15 | }; 16 | 17 | const gdl_Glyph_t SIMKAIFont12ptGlyphs[] PROGMEM = { 18 | {0x0, 0x6, 0xd, 0xc, 0x0, 0x0, 0xc}, 19 | {0x4f60, 0x1b, 0xc, 0xb, 0x0, 0x0, 0xc}, 20 | {0x597d, 0x15, 0xc, 0xb, 0x0, 0x0, 0xc}, 21 | {0xff0c, 0x3, 0x3, 0x4, 0x1, 0x8, 0xc}, 22 | {0x4e16, 0x12, 0xc, 0xb, 0x0, 0x0, 0xc}, 23 | {0x754c, 0x15, 0xd, 0xc, 0x0, 0x0, 0xc}, 24 | {0xff01, 0x9, 0x3, 0xa, 0x2, 0x1, 0xc}, 25 | {0} 26 | }; 27 | 28 | const gdl_Font_t SIMKAIFont12pt PROGMEM = { 29 | (uint8_t *)SIMKAIFont12ptBitmaps, 30 | (gdl_Glyph_t *)SIMKAIFont12ptGlyphs, 31 | 1, 0, 0xc, 32 | }; 33 | 34 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/SIMKAIFont12pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t SIMKAIFont12ptBitmaps[] PROGMEM = { 2 | 0x3a, 0x1a, 0x7a, 0x1a, 0x7a, 0x1a, 0x19, 0x4a, 0x1e, 0x2f, 3 | 0xb2, 0xd1, 0xa3, 0xa1, 0x91, 0x91, 0xb5, 0xb1, 0xc3, 0xc1, 4 | 0x91, 0xa3, 0xa1, 0xb7, 0x92, 0xa4, 0x0, 5 | 0x77, 0x1a, 0x2b, 0x5f, 0x94, 0xb1, 0xb2, 0xe1, 0xff, 0xb2, 6 | 0xb3, 0x96, 0xb2, 0x94, 0xd1, 0xa4, 0xa2, 0xc7, 0x3a, 0x30, 7 | 0x0, 8 | 0xe1, 0xc1, 0x0, 9 | 0x77, 0x2a, 0x1a, 0x5a, 0x1c, 0x5a, 0x1c, 0x6f, 0xfc, 0x69, 10 | 0x1c, 0x69, 0x1c, 0x69, 0x1d, 0x5f, 0x77, 0x0, 11 | 0x6b, 0x6f, 0x95, 0xf7, 0xe7, 0xd7, 0x1e, 0x6b, 0x1e, 0x2c, 12 | 0x1e, 0x1a, 0x1a, 0x1a, 0x7b, 0x1a, 0x7a, 0x2a, 0x74, 0x96, 13 | 0x0, 14 | 0xb1, 0xa1, 0xa1, 0xa1, 0xa1, 0xa1, 0x91, 0xe3, 0x0, 15 | }; 16 | 17 | const gdl_Glyph_t SIMKAIFont12ptGlyphs[] PROGMEM = { 18 | {0x0, 0x6, 0xd, 0xc, 0x0, 0x0, 0xc}, 19 | {0x4f60, 0x1b, 0xc, 0xb, 0x0, 0x0, 0xc}, 20 | {0x597d, 0x15, 0xc, 0xb, 0x0, 0x0, 0xc}, 21 | {0xff0c, 0x3, 0x3, 0x4, 0x1, 0x8, 0xc}, 22 | {0x4e16, 0x12, 0xc, 0xb, 0x0, 0x0, 0xc}, 23 | {0x754c, 0x15, 0xd, 0xc, 0x0, 0x0, 0xc}, 24 | {0xff01, 0x9, 0x3, 0xa, 0x2, 0x1, 0xc}, 25 | {0,0,0,0,0,0,0} 26 | }; 27 | 28 | const gdl_Font_t SIMKAIFont12pt PROGMEM = { 29 | (uint8_t *)SIMKAIFont12ptBitmaps, 30 | (gdl_Glyph_t *)SIMKAIFont12ptGlyphs, 31 | 1, 0, 0xc, 32 | }; 33 | 34 | -------------------------------------------------------------------------------- /src/Drivers/DFRobot_ST7365P.h: -------------------------------------------------------------------------------- 1 | #ifndef __DFROBOT_ST7365P_H 2 | #define __DFROBOT_ST7365P_H 3 | 4 | #define ST7365P_IC_WIDTH 320 5 | #define ST7365P_IC_HEIGHT 480 6 | #define ST7365P_COLSET 0x2A 7 | #define ST7365P_RAWSET 0x2B 8 | #define ST7365P_RAMWR 0x2C 9 | #define ST7365P_MADCTL 0x36 10 | #define ST7365P_MADCTL_RGB 0x48 11 | #define ST7365P_INVOFF 0x20 12 | #define ST7365P_INVON 0x21 13 | 14 | /*static const uint8_t PROGMEM DFRobot_ST7365P_initCmd[] */ 15 | static const uint8_t PROGMEM DFRobot_ST7365P_initCmd[]= { 16 | //flag cmd If the highest digit is 1, it means that the last 2 digits are delay, the lower 7 digits indicate the number of parameters 17 | 0x01, 0XF7, 4, 0xA9, 0x51, 0x2C, 0x82, 18 | 0x01, 0xC0, 2, 0x11, 0x09, 19 | 0x01, 0xC1, 1, 0x41, 20 | 0x01, 0XC5, 3, 0x00, 0x0A, 0x80, 21 | 0x01, 0xB1, 2, 0xB0, 0x11, 22 | 0x01, 0xB4, 1, 0x02, 23 | 0x01, 0xB6, 2, 0x02, 0x22, 24 | 0x01, 0xB7, 1, 0xc6, 25 | 0x01, 0xBE, 2, 0x00, 0x04, 26 | 0x01, 0xE9, 1, 0x00, 27 | 0x01, 0x36, 1, 0x08, 28 | 0x01, 0x3A, 1, 0x66, 29 | 0x01, 0xE0, 15, 0x00, 0x07, 0x10, 0x09, 0x17, 0x0B, 0x41, 0x89, 0x4B, 0x0A, 0x0C, 0x0E, 0x18, 0x1B, 0x0F, 30 | 0x01, 0XE1, 15, 0x00, 0x17, 0x1A, 0x04, 0x0E, 0x06, 0x2F, 0x45, 0x43, 0x02, 0x0A, 0x09, 0x32, 0x36, 0x0F, 31 | 0x01, 0x11, 0x80, 0, 120, 32 | 0x01, 0x20, 0, 33 | //0x01, 0x21, 0, 34 | 0x01, 0x29, 0, 35 | 0x00 36 | }; 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /src/Drivers/DFRobot_ILI9488.h: -------------------------------------------------------------------------------- 1 | #ifndef __DFROBOT_ILI9488_H 2 | #define __DFROBOT_ILI9488_H 3 | 4 | #define ILI9488_IC_WIDTH 320 5 | #define ILI9488_IC_HEIGHT 480 6 | #define ILI9488_COLSET 0x2A 7 | #define ILI9488_RAWSET 0x2B 8 | #define ILI9488_RAMWR 0x2C 9 | #define ILI9488_MADCTL 0x36 10 | #define ILI9488_MADCTL_RGB 0x08 11 | #define ILI9488_INVOFF 0x20 12 | #define ILI9488_INVON 0x21 13 | 14 | /*static const uint8_t PROGMEM DFRobot_ILI9488_initCmd[] */ 15 | static const uint8_t PROGMEM DFRobot_ILI9488_initCmd[]= { 16 | //flag cmd If the highest digit is 1, it means that the last 2 digits are delay, the lower 7 digits indicate the number of parameters 17 | 0x01, 0XF7, 4, 0xA9, 0x51, 0x2C, 0x82, 18 | 0x01, 0xC0, 2, 0x11, 0x09, 19 | 0x01, 0xC1, 1, 0x41, 20 | 0x01, 0XC5, 3, 0x00, 0x0A, 0x80, 21 | 0x01, 0xB1, 2, 0xB0, 0x11, 22 | 0x01, 0xB4, 1, 0x02, 23 | 0x01, 0xB6, 2, 0x02, 0x22, 24 | 0x01, 0xB7, 1, 0xc6, 25 | 0x01, 0xBE, 2, 0x00, 0x04, 26 | 0x01, 0xE9, 1, 0x00, 27 | 0x01, 0x36, 1, 0x08, 28 | 0x01, 0x3A, 1, 0x66, 29 | 0x01, 0xE0, 15, 0x00, 0x07, 0x10, 0x09, 0x17, 0x0B, 0x41, 0x89, 0x4B, 0x0A, 0x0C, 0x0E, 0x18, 0x1B, 0x0F, 30 | 0x01, 0XE1, 15, 0x00, 0x17, 0x1A, 0x04, 0x0E, 0x06, 0x2F, 0x45, 0x43, 0x02, 0x0A, 0x09, 0x32, 0x36, 0x0F, 31 | 0x01, 0x11, 0x80, 0, 120, 32 | 0x01, 0x20, 0, 33 | //0x01, 0x21, 0, 34 | 0x01, 0x29, 0, 35 | 0x00 36 | }; 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /src/Drivers/DFRobot_ST7789.h: -------------------------------------------------------------------------------- 1 | #ifndef __DFROBOT_ST7789_H 2 | #define __DFROBOT_ST7789_H 3 | 4 | #define ST7789_IC_WIDTH 240 5 | #define ST7789_IC_HEIGHT 320 6 | #define ST7789_COLSET 0x2A 7 | #define ST7789_RAWSET 0x2B 8 | #define ST7789_RAMWR 0x2C 9 | #define ST7789_MADCTL 0x36 10 | #define ST7789_MADCTL_RGB 0x00 11 | #define ST7789_INVOFF 0x20 12 | #define ST7789_INVON 0x21 13 | 14 | 15 | 16 | static const uint8_t PROGMEM DFRobot_ST7789_initCmd[]= { 17 | 0x01, 0x01, 0x80, 0, 150, 18 | 0x01, 0x11, 0x80, 0, 120, 19 | 0x01, 0x3A, 1, 0x55, 20 | 0x01, 0x36, 1, 0x00, 21 | 0x01, 0x21, 0, 22 | 0x01, 0x13, 0, 23 | 0x01, 0x29, 0, 24 | 0x00 25 | }; 26 | 27 | static const uint8_t PROGMEM DFRobot_ST7789_R240x204_initCmd[]={ 28 | 0x01, 0x01, 0x80, 0, 120, 29 | 0x01, 0x11, 0x80, 0, 120, 30 | 0x01, 0x36, 1, 0x00, 31 | 0x01, 0x3A, 1, 0x05, 32 | 0x01, 0xB2, 5, 0x0C, 0x0C, 0x00, 0x33, 0x33, 33 | 0x01, 0xB7, 1, 0x35, 34 | 0x01, 0xBB, 1, 0x1A, 35 | 0x01, 0xC0, 1, 0x2C, 36 | 0x01, 0xC2, 1, 0x01, 37 | 0x01, 0xC3, 1, 0x0B, 38 | 0x01, 0xC4, 1, 0x20, 39 | 0x01, 0xC6, 1, 0x0F, 40 | 0x01, 0xD0, 2, 0xA4, 0xA1, 41 | 0x01, 0x21, 0, 42 | 0x01, 0xE0, 14, 0x00, 0x19, 0x1E, 0x0A, 0x09, 0x15, 0x3D, 0x44, 0x51, 0x12, 0x03, 0x00, 0x3F, 0x3F, 43 | 0x01, 0xE1, 14, 0x00, 0x18, 0x1E, 0x0A, 0x09, 0x25, 0x3F, 0x43, 0x52, 0x33, 0x03, 0x00, 0x3F, 0x3F, 44 | 0x01, 0x35, 0x80, 0, 10, 45 | 0x01, 0x29, 0, 46 | 0x00 47 | }; 48 | #endif 49 | -------------------------------------------------------------------------------- /src/Frame/fontconvert/makefonts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Ugly little Bash script, generates a set of .h files for GFX using 4 | # GNU FreeFont sources. There are three fonts: 'Mono' (Courier-like), 5 | # 'Sans' (Helvetica-like) and 'Serif' (Times-like); four styles: regular, 6 | # bold, oblique or italic, and bold+oblique or bold+italic; and four 7 | # sizes: 9, 12, 18 and 24 point. No real error checking or anything, 8 | # this just powers through all the combinations, calling the fontconvert 9 | # utility and redirecting the output to a .h file for each combo. 10 | 11 | # Adafruit_GFX repository does not include the source outline fonts 12 | # (huge zipfile, different license) but they're easily acquired: 13 | # http://savannah.gnu.org/projects/freefont/ 14 | 15 | convert=./fontconvert 16 | inpath=~/Desktop/freefont/ 17 | outpath=../Fonts/ 18 | fonts=(FreeMono FreeSans FreeSerif) 19 | styles=("" Bold Italic BoldItalic Oblique BoldOblique) 20 | sizes=(9 12 18 24) 21 | 22 | for f in ${fonts[*]} 23 | do 24 | for index in ${!styles[*]} 25 | do 26 | st=${styles[$index]} 27 | for si in ${sizes[*]} 28 | do 29 | infile=$inpath$f$st".ttf" 30 | if [ -f $infile ] # Does source combination exist? 31 | then 32 | outfile=$outpath$f$st$si"pt7b.h" 33 | # printf "%s %s %s > %s\n" $convert $infile $si $outfile 34 | $convert $infile $si > $outfile 35 | fi 36 | done 37 | done 38 | done 39 | -------------------------------------------------------------------------------- /src/Drivers/DFRobot_LCDType.h: -------------------------------------------------------------------------------- 1 | #ifndef __DFROBOT_LCDTYPE_H 2 | #define __DFROBOT_LCDTYPE_H 3 | #include "DFRobot_Type.h" 4 | #include "DFRobot_ST7735S.h" 5 | #include "DFRobot_SSD1306.h" 6 | #include "DFRobot_ILI9488.h" 7 | #include "DFRobot_ST7365P.h" 8 | #include "DFRobot_ST7789.h" 9 | #include "DFRobot_ILI9341.h" 10 | extern sGdlIFDev_t gdl_Dev_ST7789_R240x240_HW_SPI; 11 | extern sGdlIFDev_t gdl_Dev_ST7789_R240x204_HW_SPI; 12 | extern sGdlIFDev_t gdl_Dev_ST7789_R240x320_HW_SPI; 13 | extern sGdlIFDev_t gdl_Dev_SSD1306_R128x32_HW_IIC; 14 | extern sGdlIFDev_t gdl_Dev_ST7735S_R80x160_HW_SPI; 15 | extern sGdlIFDev_t gdl_Dev_ST7735S_R128x160_HW_SPI; 16 | extern sGdlIFDev_t gdl_Dev_ILI9488_R320x480_HW_SPI; 17 | extern sGdlIFDev_t gdl_Dev_ST7365P_R320x480_HW_SPI; 18 | extern sGdlIFDev_t gdl_Dev_ILI9341_R240x320_HW_SPI; 19 | 20 | extern sGdlIFDev_t gdl_Dev_ST7789_R172x320_HW_SPI; 21 | 22 | #ifdef ARDUINO_SAM_ZERO 23 | extern sGdlIFDev_t gdl_Dev_ST7789_R240x240_DMA_SPI; 24 | extern sGdlIFDev_t gdl_Dev_ST7789_R240x204_DMA_SPI; 25 | extern sGdlIFDev_t gdl_Dev_ST7789_R240x320_DMA_SPI; 26 | extern sGdlIFDev_t gdl_Dev_ST7735S_R80x160_DMA_SPI; 27 | extern sGdlIFDev_t gdl_Dev_ST7735S_R128x160_DMA_SPI; 28 | extern sGdlIFDev_t gdl_Dev_ILI9488_R320x480_DMA_SPI; 29 | extern sGdlIFDev_t gdl_Dev_ST7365P_R320x480_DMA_SPI; 30 | extern sGdlIFDev_t gdl_Dev_ILI9341_R240x320_DMA_SPI; 31 | extern sGdlIFDev_t gdl_Dev_ST7789_R172x320_DMA_SPI; 32 | #endif 33 | 34 | #endif -------------------------------------------------------------------------------- /src/Drivers/DFRobot_ILI9341.h: -------------------------------------------------------------------------------- 1 | #ifndef __DFROBOT_ILI9341_H 2 | #define __DFROBOT_ILI9341_H 3 | 4 | #define ILI9341_IC_WIDTH 240 5 | #define ILI9341_IC_HEIGHT 320 6 | #define ILI9341_COLSET 0x2A 7 | #define ILI9341_RAWSET 0x2B 8 | #define ILI9341_RAMWR 0x2C 9 | #define ILI9341_MADCTL 0x36 10 | #define ILI9341_MADCTL_RGB 0x08 11 | #define ILI9341_INVOFF 0x20 12 | #define ILI9341_INVON 0x21 13 | 14 | /*static const uint8_t PROGMEM DFRobot_ILI9341_initCmd[] */ 15 | static const uint8_t PROGMEM DFRobot_ILI9341_initCmd[]= { 16 | //flag cmd If the highest bit is 1, it means that the last 2 bits are delay, the lower 7 bits indicate the number of parameters 17 | 0x01,0xCF,3,0x00,0xC1,0X30, 18 | 0x01,0xED,4,0x64,0x03,0X12,0X81, 19 | 0x01,0xE8,3,0x85,0x00,0x78, 20 | 0x01,0xCB,5,0x39,0x2C,0x00,0x34,0x02, 21 | 0x01,0xF7,1,0x20, 22 | 0x01,0xEA,2,0x00,0x00, 23 | 0x01,0xC0,1,0x10, 24 | 0x01,0xC1,1,0x00, 25 | 0x01,0xC5,2,0x30,0x30, 26 | 0x01,0xC7,1,0xB7, 27 | 0x01,0x3A,1,0x55, 28 | 0x01,0x36,1,0x08, 29 | 0x01,0xB1,2,0x00,0x1A, 30 | 0x01,0xB6,2,0x0A ,0xA2, 31 | 0x01,0xF2,1,0x00, 32 | 0x01,0x26,1,0x01, 33 | 0x01,0xE0,15,0x0F,0x2A,0x28,0x08,0x0E,0x08,0x54,0xA9,0x43,0x0A,0x0F,0x00,0x00,0x00,0x00, 34 | 0x01,0XE1,15,0x00,0x15,0x17,0x07,0x11,0x06,0x2B,0x56,0x3C,0x05,0x10,0x0F,0x3F,0x3F,0x0F, 35 | 0x01,0x2B,4,0x00,0x00,0x01,0x3f, 36 | 0x01,0x2A,4,0x00,0x00,0x00,0xef, 37 | 0x01, 0x11,0x80,0,120, 38 | 0x01, 0x29, 0, 39 | 0x00, 40 | }; 41 | 42 | #endif 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /src/Fonts/gdlFontDef.h: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file gdlFontDef.h 3 | * @brief The format of custom font structure 4 | * 5 | * @copyright Copyright (c) 2010 DFRobot Co. Ltd (http://www.dfrobot.com) 6 | * @licence The MIT License (MIT) 7 | * @author [Arya] (xue.peng@dfrobot.com) 8 | * @version V1.0 9 | * @date 2019-12-23 10 | * @https: //github.com/DFRobot/DFRobot_GDL 11 | */ 12 | #ifndef _GDLFONTDEF_H_ 13 | #define _GDLFONTDEF_H_ 14 | #include "Arduino.h" 15 | #include 16 | #define FONT_TYPE_BUILTIN 0//Built-in font GFXfont 17 | #define FONT_TYPE_CUSTOM 1//Built-in font GFXfont custom font 18 | #define FONT_TYPE_FLASH 2//gdl_Font_t 19 | 20 | typedef struct{ 21 | uint16_t unicode; /**< Font unicode*/ 22 | uint16_t length; /**< Font effective data length*/ 23 | uint8_t width; /**< Font outline width*/ 24 | uint8_t height; /**< Font outline height*/ 25 | int8_t xOffset; /**< Origin point offset in x direction */ 26 | int8_t yOffset; /**< Origin point offset in y direction*/ 27 | uint8_t xAdvance; /**< Total font width*/ 28 | } gdl_Glyph_t; 29 | 30 | typedef struct{ 31 | uint8_t *bitmap; /**< Glyph bitmaps, concatenated*/ 32 | gdl_Glyph_t *glyph; /**< Glyph array*/ 33 | uint8_t type; /**< Font type, indicating that it is a custom font*/ 34 | uint8_t last; /**< This value is always 0, by which to distinguish GFXfont*/ 35 | uint8_t yAdvance; /**< Font height*/ 36 | }gdl_Font_t; 37 | 38 | #include "DFRobot_Font.h" 39 | #endif 40 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_loadingBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_loadingBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x72, 0xc4, 0xb7, 0x4c, 0x4b, 0x2b, 0x4f, 0xfc, 0x4f, 0xfc, 3 | 0x4f, 0xf9, 0x2b, 0x2b, 0x4b, 0x7b, 0x2b, 0x4b, 0x7f, 0xfe, 4 | 0x5f, 0xfb, 0x5f, 0xfb, 0x7b, 0x4b, 0x75, 0xb4, 0xb7, 0xb2, 5 | 0xff, 0x92, 0xb2, 0xff, 0x92, 0xb2, 0xff, 0x92, 0xb2, 0xb4, 6 | 0xb7, 0xb2, 0xb4, 0xb5, 0xb4, 0xb4, 0xb5, 0xb4, 0xb4, 0xb5, 7 | 0xb4, 0xff, 0xc4, 0xff, 0xc4, 0xff, 0x90, 0x0, 8 | 0x4f, 0xfa, 0x6f, 0xfa, 0x2f, 0xfe, 0x2f, 0x97, 0x1c, 0x2f, 9 | 0x97, 0x1c, 0x6f, 0xe7, 0x2f, 0xe7, 0xff, 0xc4, 0xb7, 0x4c, 10 | 0x2f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x2b, 0x4b, 0x4c, 11 | 0x4f, 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 0x4b, 0x4b, 0x4c, 0x4b, 12 | 0x4b, 0x4c, 0x4f, 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 0x20, 0x0, 13 | 0x72, 0xb7, 0x75, 0xb7, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xe6, 14 | 0xb7, 0xe6, 0xb7, 0xe6, 0xb7, 0xe6, 0xb7, 0xe6, 0xb7, 0xe6, 15 | 0xb7, 0xe6, 0xb7, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x72, 0xb7, 16 | 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 17 | 0x75, 0xb7, 0x30, 0x0, 18 | }; 19 | 20 | const gdl_Glyph_t CN_loadingBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 21 | {0x0, 0x3, 0x16, 0x16, 0x0, 0x0, 0x18}, 22 | {0x51c6, 0x3a, 0x16, 0x16, 0x0, 0x0, 0x18}, 23 | {0x5907, 0x32, 0x16, 0x16, 0x0, 0x0, 0x18}, 24 | {0x4e2d, 0x2c, 0x16, 0x16, 0x0, 0x0, 0x18}, 25 | {0} 26 | }; 27 | 28 | const gdl_Font_t CN_loadingBB_9_9_1_9Font24pt PROGMEM = { 29 | (uint8_t *)CN_loadingBB_9_9_1_9Font24ptBitmaps, 30 | (gdl_Glyph_t *)CN_loadingBB_9_9_1_9Font24ptGlyphs, 31 | 1, 0, 0x18, 32 | }; 33 | 34 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_loadingBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_loadingBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x72, 0xc4, 0xb7, 0x4c, 0x4b, 0x2b, 0x4f, 0xfc, 0x4f, 0xfc, 3 | 0x4f, 0xf9, 0x2b, 0x2b, 0x4b, 0x7b, 0x2b, 0x4b, 0x7f, 0xfe, 4 | 0x5f, 0xfb, 0x5f, 0xfb, 0x7b, 0x4b, 0x75, 0xb4, 0xb7, 0xb2, 5 | 0xff, 0x92, 0xb2, 0xff, 0x92, 0xb2, 0xff, 0x92, 0xb2, 0xb4, 6 | 0xb7, 0xb2, 0xb4, 0xb5, 0xb4, 0xb4, 0xb5, 0xb4, 0xb4, 0xb5, 7 | 0xb4, 0xff, 0xc4, 0xff, 0xc4, 0xff, 0x90, 0x0, 8 | 0x4f, 0xfa, 0x6f, 0xfa, 0x2f, 0xfe, 0x2f, 0x97, 0x1c, 0x2f, 9 | 0x97, 0x1c, 0x6f, 0xe7, 0x2f, 0xe7, 0xff, 0xc4, 0xb7, 0x4c, 10 | 0x2f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x2b, 0x4b, 0x4c, 11 | 0x4f, 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 0x4b, 0x4b, 0x4c, 0x4b, 12 | 0x4b, 0x4c, 0x4f, 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 0x20, 0x0, 13 | 0x72, 0xb7, 0x75, 0xb7, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xe6, 14 | 0xb7, 0xe6, 0xb7, 0xe6, 0xb7, 0xe6, 0xb7, 0xe6, 0xb7, 0xe6, 15 | 0xb7, 0xe6, 0xb7, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x72, 0xb7, 16 | 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 17 | 0x75, 0xb7, 0x30, 0x0, 18 | }; 19 | 20 | const gdl_Glyph_t CN_loadingBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 21 | {0x0, 0x3, 0x16, 0x16, 0x0, 0x0, 0x18}, 22 | {0x51c6, 0x3a, 0x16, 0x16, 0x0, 0x0, 0x18}, 23 | {0x5907, 0x32, 0x16, 0x16, 0x0, 0x0, 0x18}, 24 | {0x4e2d, 0x2c, 0x16, 0x16, 0x0, 0x0, 0x18}, 25 | {0} 26 | }; 27 | 28 | const gdl_Font_t CN_loadingBB_9_9_1_9Font24pt PROGMEM = { 29 | (uint8_t *)CN_loadingBB_9_9_1_9Font24ptBitmaps, 30 | (gdl_Glyph_t *)CN_loadingBB_9_9_1_9Font24ptGlyphs, 31 | 1, 0, 0x18, 32 | }; 33 | 34 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_brandBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_brandBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x7f, 0x97, 0x7f, 0x97, 0x4f, 0xe7, 0x2c, 0x6b, 0x72, 0xc6, 3 | 0xb7, 0xff, 0xc4, 0xff, 0xc2, 0xff, 0xfc, 0x6b, 0x7f, 0xff, 4 | 0xc2, 0xff, 0xc4, 0xff, 0xc4, 0xff, 0xc7, 0x4b, 0x75, 0xb4, 5 | 0xb4, 0xc4, 0xb4, 0xb4, 0xc4, 0xb4, 0xb4, 0xc6, 0xc1, 0xb2, 6 | 0xb7, 0x2c, 0x1b, 0x2b, 0x5f, 0xff, 0xff, 0xff, 0xff, 0xb0, 7 | 0x0, 8 | 0x2e, 0x1f, 0xe2, 0xe1, 0xff, 0xf1, 0xff, 0xa7, 0x2b, 0x7b, 9 | 0x72, 0xb7, 0xff, 0xff, 0xff, 0xff, 0xfb, 0x72, 0xb7, 0xff, 10 | 0x92, 0xb2, 0xff, 0x92, 0xb2, 0xff, 0x92, 0xb2, 0xff, 0x92, 11 | 0xb2, 0xb7, 0x2b, 0x2b, 0x2b, 0x2b, 0x2d, 0x2b, 0x2b, 0x2b, 12 | 0x2d, 0x2b, 0x2b, 0x2b, 0x2d, 0x2b, 0x2b, 0x2e, 0x4b, 0x2a, 13 | 0x5e, 0x4b, 0x2a, 0x5f, 0xe2, 0xd2, 0xb2, 0xd7, 0xb2, 0xb2, 14 | 0xd7, 0xb0, 0x0, 15 | 0xff, 0xff, 0xff, 0xff, 0xfe, 0x77, 0x2e, 0x77, 0x2f, 0xe6, 16 | 0xc2, 0xfb, 0x6c, 0x2f, 0xb2, 0xfb, 0x75, 0xff, 0xff, 0xff, 17 | 0xa4, 0xc2, 0xfd, 0x4c, 0x2f, 0xf9, 0x1c, 0x4b, 0x2b, 0x2b, 18 | 0x1c, 0x4b, 0x2b, 0x2f, 0x94, 0xb2, 0xb4, 0xe4, 0xb2, 0xb4, 19 | 0xe2, 0xb4, 0xb7, 0x2e, 0x4b, 0x72, 0xe4, 0xff, 0xc4, 0xff, 20 | 0xc4, 0xff, 0x90, 0x0, 21 | }; 22 | 23 | const gdl_Glyph_t CN_brandBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 24 | {0x0, 0x3, 0x16, 0x16, 0x0, 0x0, 0x18}, 25 | {0x91d1, 0x33, 0x16, 0x16, 0x0, 0x0, 0x18}, 26 | {0x9886, 0x3f, 0x16, 0x16, 0x0, 0x0, 0x18}, 27 | {0x51a0, 0x36, 0x16, 0x16, 0x0, 0x0, 0x18}, 28 | {0} 29 | }; 30 | 31 | const gdl_Font_t CN_brandBB_9_9_1_9Font24pt PROGMEM = { 32 | (uint8_t *)CN_brandBB_9_9_1_9Font24ptBitmaps, 33 | (gdl_Glyph_t *)CN_brandBB_9_9_1_9Font24ptGlyphs, 34 | 1, 0, 0x18, 35 | }; 36 | 37 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_brandBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_brandBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0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0x0, 21 | }; 22 | 23 | const gdl_Glyph_t CN_brandBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 24 | {0x0, 0x3, 0x16, 0x16, 0x0, 0x0, 0x18}, 25 | {0x91d1, 0x33, 0x16, 0x16, 0x0, 0x0, 0x18}, 26 | {0x9886, 0x3f, 0x16, 0x16, 0x0, 0x0, 0x18}, 27 | {0x51a0, 0x36, 0x16, 0x16, 0x0, 0x0, 0x18}, 28 | {0} 29 | }; 30 | 31 | const gdl_Font_t CN_brandBB_9_9_1_9Font24pt PROGMEM = { 32 | (uint8_t *)CN_brandBB_9_9_1_9Font24ptBitmaps, 33 | (gdl_Glyph_t *)CN_brandBB_9_9_1_9Font24ptGlyphs, 34 | 1, 0, 0x18, 35 | }; 36 | 37 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_listeningBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_listeningBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x2f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2b, 0x4b, 0x7b, 0x2b, 3 | 0x4b, 0x7b, 0x2f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2b, 0x4b, 4 | 0x7b, 0x2b, 0x4b, 0x7b, 0x2b, 0x4b, 0x7b, 0x2b, 0x4b, 0x7b, 5 | 0x2f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2b, 0x4b, 0x7b, 0x2b, 6 | 0x4b, 0x7e, 0x6b, 0x7e, 0x6b, 0x7e, 0x6b, 0x4f, 0xa6, 0xb4, 7 | 0xfa, 0x6b, 0x4e, 0x0, 8 | 0x7d, 0x77, 0x3d, 0x77, 0x3f, 0xb7, 0x73, 0xd7, 0x73, 0xd7, 9 | 0x77, 0x77, 0x77, 0x7b, 0x77, 0x5b, 0x77, 0xb2, 0xb6, 0xb5, 10 | 0xb2, 0xb6, 0xb5, 0xb2, 0xb6, 0xb5, 0xb2, 0xb7, 0x2b, 0x2b, 11 | 0x2b, 0x72, 0xf9, 0x2b, 0x72, 0xe4, 0xb7, 0x5b, 0x4b, 0x75, 12 | 0xb4, 0xb6, 0xb3, 0xb4, 0xb6, 0xb7, 0x3f, 0xd7, 0x3f, 0xd7, 13 | 0x3f, 0xd3, 0x0, 14 | 0x77, 0x2e, 0x77, 0x2f, 0xf1, 0xff, 0xf1, 0xf9, 0x5f, 0x91, 15 | 0xf9, 0x5b, 0x1c, 0x1b, 0x73, 0xb1, 0xc1, 0xb7, 0x3b, 0x1c, 16 | 0x1f, 0xfa, 0x1c, 0x1f, 0xfa, 0x1c, 0x1f, 0xfa, 0x1c, 0x1b, 17 | 0x4c, 0x2b, 0x1c, 0x1b, 0x4c, 0x2b, 0x1c, 0x1b, 0x4c, 0x2b, 18 | 0x1c, 0x1b, 0x4c, 0x2b, 0x1c, 0x1b, 0x4c, 0x2b, 0x1c, 0x1b, 19 | 0x4c, 0x2b, 0x1c, 0x1b, 0x4c, 0x2f, 0xb6, 0xc2, 0xfb, 0x6c, 20 | 0x2f, 0xb6, 0xc7, 0x2b, 0x6c, 0x72, 0xb6, 0xc2, 0x0, 21 | }; 22 | 23 | const gdl_Glyph_t CN_listeningBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 24 | {0x0, 0x3, 0x16, 0x16, 0x0, 0x0, 0x18}, 25 | {0x7528, 0x36, 0x16, 0x16, 0x0, 0x0, 0x18}, 26 | {0x5fc3, 0x35, 0x16, 0x16, 0x0, 0x0, 0x18}, 27 | {0x542c, 0x45, 0x16, 0x16, 0x0, 0x0, 0x18}, 28 | {0} 29 | }; 30 | 31 | const gdl_Font_t CN_listeningBB_9_9_1_9Font24pt PROGMEM = { 32 | (uint8_t *)CN_listeningBB_9_9_1_9Font24ptBitmaps, 33 | (gdl_Glyph_t *)CN_listeningBB_9_9_1_9Font24ptGlyphs, 34 | 1, 0, 0x18, 35 | }; 36 | 37 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_analysingBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_analysingBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x4c, 0x4b, 0x74, 0xc4, 0xb7, 0xb1, 0xc1, 0xff, 0xa1, 0xc1, 3 | 0xff, 0xa1, 0xc1, 0xff, 0xa1, 0xe2, 0xb2, 0xa3, 0xb1, 0xe2, 4 | 0xb2, 0xa3, 0xb1, 0xe2, 0xfe, 0x1c, 0x6b, 0x2e, 0x1c, 0x6b, 5 | 0x2b, 0x4c, 0x4b, 0x2d, 0x4c, 0x4b, 0x2d, 0x2b, 0x2b, 0x2b, 6 | 0x2d, 0x2b, 0x2b, 0x77, 0xb2, 0xff, 0x92, 0xb2, 0xff, 0x92, 7 | 0xb2, 0xff, 0xc7, 0x2b, 0x2a, 0x3b, 0x72, 0xb2, 0xa3, 0xb6, 8 | 0xe2, 0xf9, 0x6b, 0x5f, 0x96, 0xb5, 0xd0, 0x0, 9 | 0xf9, 0x6b, 0x5f, 0x96, 0xb5, 0xff, 0xfc, 0x1f, 0xff, 0x1f, 10 | 0xff, 0xd7, 0x7f, 0x97, 0x7f, 0x91, 0xe1, 0xfa, 0x1c, 0x1e, 11 | 0x1f, 0xa1, 0xc1, 0xe1, 0xfa, 0x1c, 0x1b, 0x2b, 0x2e, 0x1c, 12 | 0x1b, 0x2b, 0x2f, 0xc1, 0xb2, 0xb2, 0xfc, 0x1b, 0x2b, 0x2f, 13 | 0xc1, 0xff, 0xa1, 0xc1, 0xe1, 0xfa, 0x1c, 0x1e, 0x1f, 0xa1, 14 | 0xc1, 0xb7, 0xe1, 0xc1, 0xb7, 0xe1, 0xc1, 0xff, 0xa1, 0xc1, 15 | 0xff, 0xa1, 0xc1, 0xfe, 0x0, 16 | 0x72, 0xb7, 0x75, 0xb7, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xe6, 17 | 0xb7, 0xe6, 0xb7, 0xe6, 0xb7, 0xe6, 0xb7, 0xe6, 0xb7, 0xe6, 18 | 0xb7, 0xe6, 0xb7, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x72, 0xb7, 19 | 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 20 | 0x75, 0xb7, 0x30, 0x0, 21 | }; 22 | 23 | const gdl_Glyph_t CN_analysingBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 24 | {0x0, 0x3, 0x16, 0x16, 0x0, 0x0, 0x18}, 25 | {0x70e7, 0x44, 0x16, 0x16, 0x0, 0x0, 0x18}, 26 | {0x8111, 0x41, 0x16, 0x16, 0x0, 0x0, 0x18}, 27 | {0x4e2d, 0x2c, 0x16, 0x16, 0x0, 0x0, 0x18}, 28 | {0} 29 | }; 30 | 31 | const gdl_Font_t CN_analysingBB_9_9_1_9Font24pt PROGMEM = { 32 | (uint8_t *)CN_analysingBB_9_9_1_9Font24ptBitmaps, 33 | (gdl_Glyph_t *)CN_analysingBB_9_9_1_9Font24ptGlyphs, 34 | 1, 0, 0x18, 35 | }; 36 | 37 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_listeningBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_listeningBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x2f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2b, 0x4b, 0x7b, 0x2b, 3 | 0x4b, 0x7b, 0x2f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2b, 0x4b, 4 | 0x7b, 0x2b, 0x4b, 0x7b, 0x2b, 0x4b, 0x7b, 0x2b, 0x4b, 0x7b, 5 | 0x2f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2b, 0x4b, 0x7b, 0x2b, 6 | 0x4b, 0x7e, 0x6b, 0x7e, 0x6b, 0x7e, 0x6b, 0x4f, 0xa6, 0xb4, 7 | 0xfa, 0x6b, 0x4e, 0x0, 8 | 0x7d, 0x77, 0x3d, 0x77, 0x3f, 0xb7, 0x73, 0xd7, 0x73, 0xd7, 9 | 0x77, 0x77, 0x77, 0x7b, 0x77, 0x5b, 0x77, 0xb2, 0xb6, 0xb5, 10 | 0xb2, 0xb6, 0xb5, 0xb2, 0xb6, 0xb5, 0xb2, 0xb7, 0x2b, 0x2b, 11 | 0x2b, 0x72, 0xf9, 0x2b, 0x72, 0xe4, 0xb7, 0x5b, 0x4b, 0x75, 12 | 0xb4, 0xb6, 0xb3, 0xb4, 0xb6, 0xb7, 0x3f, 0xd7, 0x3f, 0xd7, 13 | 0x3f, 0xd3, 0x0, 14 | 0x77, 0x2e, 0x77, 0x2f, 0xf1, 0xff, 0xf1, 0xf9, 0x5f, 0x91, 15 | 0xf9, 0x5b, 0x1c, 0x1b, 0x73, 0xb1, 0xc1, 0xb7, 0x3b, 0x1c, 16 | 0x1f, 0xfa, 0x1c, 0x1f, 0xfa, 0x1c, 0x1f, 0xfa, 0x1c, 0x1b, 17 | 0x4c, 0x2b, 0x1c, 0x1b, 0x4c, 0x2b, 0x1c, 0x1b, 0x4c, 0x2b, 18 | 0x1c, 0x1b, 0x4c, 0x2b, 0x1c, 0x1b, 0x4c, 0x2b, 0x1c, 0x1b, 19 | 0x4c, 0x2b, 0x1c, 0x1b, 0x4c, 0x2f, 0xb6, 0xc2, 0xfb, 0x6c, 20 | 0x2f, 0xb6, 0xc7, 0x2b, 0x6c, 0x72, 0xb6, 0xc2, 0x0, 21 | }; 22 | 23 | const gdl_Glyph_t CN_listeningBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 24 | {0x0, 0x3, 0x16, 0x16, 0x0, 0x0, 0x18}, 25 | {0x7528, 0x36, 0x16, 0x16, 0x0, 0x0, 0x18}, 26 | {0x5fc3, 0x35, 0x16, 0x16, 0x0, 0x0, 0x18}, 27 | {0x542c, 0x45, 0x16, 0x16, 0x0, 0x0, 0x18}, 28 | {0} 29 | }; 30 | 31 | const gdl_Font_t CN_listeningBB_9_9_1_9Font24pt PROGMEM = { 32 | (uint8_t *)CN_listeningBB_9_9_1_9Font24ptBitmaps, 33 | (gdl_Glyph_t *)CN_listeningBB_9_9_1_9Font24ptGlyphs, 34 | 1, 0, 0x18, 35 | }; 36 | 37 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_analysingBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_analysingBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x4c, 0x4b, 0x74, 0xc4, 0xb7, 0xb1, 0xc1, 0xff, 0xa1, 0xc1, 3 | 0xff, 0xa1, 0xc1, 0xff, 0xa1, 0xe2, 0xb2, 0xa3, 0xb1, 0xe2, 4 | 0xb2, 0xa3, 0xb1, 0xe2, 0xfe, 0x1c, 0x6b, 0x2e, 0x1c, 0x6b, 5 | 0x2b, 0x4c, 0x4b, 0x2d, 0x4c, 0x4b, 0x2d, 0x2b, 0x2b, 0x2b, 6 | 0x2d, 0x2b, 0x2b, 0x77, 0xb2, 0xff, 0x92, 0xb2, 0xff, 0x92, 7 | 0xb2, 0xff, 0xc7, 0x2b, 0x2a, 0x3b, 0x72, 0xb2, 0xa3, 0xb6, 8 | 0xe2, 0xf9, 0x6b, 0x5f, 0x96, 0xb5, 0xd0, 0x0, 9 | 0xf9, 0x6b, 0x5f, 0x96, 0xb5, 0xff, 0xfc, 0x1f, 0xff, 0x1f, 10 | 0xff, 0xd7, 0x7f, 0x97, 0x7f, 0x91, 0xe1, 0xfa, 0x1c, 0x1e, 11 | 0x1f, 0xa1, 0xc1, 0xe1, 0xfa, 0x1c, 0x1b, 0x2b, 0x2e, 0x1c, 12 | 0x1b, 0x2b, 0x2f, 0xc1, 0xb2, 0xb2, 0xfc, 0x1b, 0x2b, 0x2f, 13 | 0xc1, 0xff, 0xa1, 0xc1, 0xe1, 0xfa, 0x1c, 0x1e, 0x1f, 0xa1, 14 | 0xc1, 0xb7, 0xe1, 0xc1, 0xb7, 0xe1, 0xc1, 0xff, 0xa1, 0xc1, 15 | 0xff, 0xa1, 0xc1, 0xfe, 0x0, 16 | 0x72, 0xb7, 0x75, 0xb7, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xe6, 17 | 0xb7, 0xe6, 0xb7, 0xe6, 0xb7, 0xe6, 0xb7, 0xe6, 0xb7, 0xe6, 18 | 0xb7, 0xe6, 0xb7, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x72, 0xb7, 19 | 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 20 | 0x75, 0xb7, 0x30, 0x0, 21 | }; 22 | 23 | const gdl_Glyph_t CN_analysingBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 24 | {0x0, 0x3, 0x16, 0x16, 0x0, 0x0, 0x18}, 25 | {0x70e7, 0x44, 0x16, 0x16, 0x0, 0x0, 0x18}, 26 | {0x8111, 0x41, 0x16, 0x16, 0x0, 0x0, 0x18}, 27 | {0x4e2d, 0x2c, 0x16, 0x16, 0x0, 0x0, 0x18}, 28 | {0} 29 | }; 30 | 31 | const gdl_Font_t CN_analysingBB_9_9_1_9Font24pt PROGMEM = { 32 | (uint8_t *)CN_analysingBB_9_9_1_9Font24ptBitmaps, 33 | (gdl_Glyph_t *)CN_analysingBB_9_9_1_9Font24ptGlyphs, 34 | 1, 0, 0x18, 35 | }; 36 | 37 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_recording_failedBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_recording_failedBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0xb6, 0xfc, 0x2b, 0x6f, 0xc2, 0xd4, 0xfc, 0x4b, 0x4b, 0x5b, 3 | 0x4b, 0x4b, 0x5b, 0x74, 0xb5, 0xb7, 0x4b, 0x5b, 0x2b, 0x4d, 4 | 0x5f, 0x94, 0xb7, 0xf9, 0x4b, 0x7d, 0x2b, 0x77, 0x5b, 0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{0x6ca1, 0x36, 0x16, 0x16, 0x0, 0x0, 0x18}, 26 | {0x542c, 0x45, 0x16, 0x16, 0x0, 0x0, 0x18}, 27 | {0x6e05, 0x35, 0x16, 0x16, 0x0, 0x0, 0x18}, 28 | {0} 29 | }; 30 | 31 | const gdl_Font_t CN_recording_failedBB_9_9_1_9Font24pt PROGMEM = { 32 | (uint8_t *)CN_recording_failedBB_9_9_1_9Font24ptBitmaps, 33 | (gdl_Glyph_t *)CN_recording_failedBB_9_9_1_9Font24ptGlyphs, 34 | 1, 0, 0x18, 35 | }; 36 | 37 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_recording_failedBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_recording_failedBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0xb6, 0xfc, 0x2b, 0x6f, 0xc2, 0xd4, 0xfc, 0x4b, 0x4b, 0x5b, 3 | 0x4b, 0x4b, 0x5b, 0x74, 0xb5, 0xb7, 0x4b, 0x5b, 0x2b, 0x4d, 4 | 0x5f, 0x94, 0xb7, 0xf9, 0x4b, 0x7d, 0x2b, 0x77, 0x5b, 0x77, 5 | 0x73, 0xfe, 0x72, 0xfe, 0x72, 0xfe, 0x74, 0xb5, 0xb7, 0x4b, 6 | 0x5b, 0x4b, 0x7d, 0x7b, 0x7d, 0x5d, 0x2f, 0xfc, 0x4d, 0x5f, 7 | 0x94, 0xd5, 0xd0, 0x0, 8 | 0x77, 0x2e, 0x77, 0x2f, 0xf1, 0xff, 0xf1, 0xf9, 0x5f, 0x91, 9 | 0xf9, 0x5b, 0x1c, 0x1b, 0x73, 0xb1, 0xc1, 0xb7, 0x3b, 0x1c, 10 | 0x1f, 0xfa, 0x1c, 0x1f, 0xfa, 0x1c, 0x1f, 0xfa, 0x1c, 0x1b, 11 | 0x4c, 0x2b, 0x1c, 0x1b, 0x4c, 0x2b, 0x1c, 0x1b, 0x4c, 0x2b, 12 | 0x1c, 0x1b, 0x4c, 0x2b, 0x1c, 0x1b, 0x4c, 0x2b, 0x1c, 0x1b, 13 | 0x4c, 0x2b, 0x1c, 0x1b, 0x4c, 0x2f, 0xb6, 0xc2, 0xfb, 0x6c, 14 | 0x2f, 0xb6, 0xc7, 0x2b, 0x6c, 0x72, 0xb6, 0xc2, 0x0, 15 | 0xb7, 0x4b, 0x5b, 0x74, 0xb5, 0xd2, 0xff, 0x92, 0xb2, 0xff, 16 | 0x92, 0xb2, 0xff, 0x97, 0x7b, 0x77, 0x5b, 0x5b, 0x6f, 0xfa, 17 | 0x6f, 0xfa, 0x6f, 0xe2, 0xb7, 0x2b, 0x7b, 0x72, 0xb7, 0x5f, 18 | 0xf9, 0x7f, 0xf9, 0x7f, 0xf9, 0x72, 0xb7, 0xb7, 0x2b, 0x7b, 19 | 0x2b, 0x4f, 0xe2, 0xb4, 0xff, 0xc4, 0xff, 0xa6, 0xb7, 0xe6, 20 | 0xb7, 0xb0, 0x0, 21 | }; 22 | 23 | const gdl_Glyph_t CN_recording_failedBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 24 | {0x0, 0x3, 0x16, 0x16, 0x0, 0x0, 0x18}, 25 | {0x6ca1, 0x36, 0x16, 0x16, 0x0, 0x0, 0x18}, 26 | {0x542c, 0x45, 0x16, 0x16, 0x0, 0x0, 0x18}, 27 | {0x6e05, 0x35, 0x16, 0x16, 0x0, 0x0, 0x18}, 28 | {0} 29 | }; 30 | 31 | const gdl_Font_t CN_recording_failedBB_9_9_1_9Font24pt PROGMEM = { 32 | (uint8_t *)CN_recording_failedBB_9_9_1_9Font24ptBitmaps, 33 | (gdl_Glyph_t *)CN_recording_failedBB_9_9_1_9Font24ptGlyphs, 34 | 1, 0, 0x18, 35 | }; 36 | 37 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_tryagainBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_tryagainBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 |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| 0x93, 0xd6, 0xc7, 0xf9, 0x3d, 0x6c, 0x7f, 0x93, 0xd6, 0xc7, 20 | 0xff, 0xd3, 0xf9, 0x3d, 0x3f, 0xc6, 0xd3, 0xd3, 0xfc, 0x6d, 21 | 0x3d, 0x3f, 0xc6, 0xd0, 0x0, 22 | }; 23 | 24 | const gdl_Glyph_t CN_tryagainBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 25 | {0x0, 0x2, 0x21, 0x20, 0x0, 0x0, 0x24}, 26 | {0x518d, 0x59, 0x21, 0x20, 0x0, 0x0, 0x24}, 27 | {0x8bd5, 0x69, 0x21, 0x20, 0x0, 0x0, 0x24}, 28 | {0} 29 | }; 30 | 31 | const gdl_Font_t CN_tryagainBB_9_9_1_9Font36pt PROGMEM = { 32 | (uint8_t *)CN_tryagainBB_9_9_1_9Font36ptBitmaps, 33 | (gdl_Glyph_t *)CN_tryagainBB_9_9_1_9Font36ptGlyphs, 34 | 1, 0, 0x24, 35 | }; 36 | 37 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_tryagainBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_tryagainBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe7, 3 | 0x7c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x4f, 0xff, 4 | 0xd7, 0xff, 0xfd, 0x7f, 0xff, 0xd7, 0xff, 0xfd, 0x7d, 0x6c, 5 | 0x7c, 0x7d, 0x6c, 0x7c, 0x7d, 0x6c, 0x7c, 0x7f, 0xff, 0xd7, 6 | 0xff, 0xfd, 0x7f, 0xff, 0xd7, 0xff, 0xfd, 0x7d, 0x6c, 0x7c, 7 | 0x7d, 0x6c, 0x7c, 0x7d, 0x6c, 0x7c, 0x4f, 0xff, 0xff, 0xff, 8 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x3d, 0x77, 0x3c, 0x7d, 9 | 0x77, 0x3c, 0x7d, 0x77, 0x3c, 0x7d, 0x76, 0xf9, 0x7d, 0x76, 10 | 0xf9, 0x7d, 0x76, 0xf9, 0x7d, 0x76, 0xf9, 0x40, 0x0, 11 | 0xc7, 0x73, 0xc3, 0xfa, 0x77, 0x3c, 0x3f, 0xa7, 0x73, 0xc3, 12 | 0xfe, 0x76, 0xc3, 0xd3, 0xd7, 0x6c, 0x3d, 0x3d, 0x76, 0xc3, 13 | 0xd3, 0xd7, 0x6c, 0x3d, 0x74, 0xff, 0xf9, 0x74, 0xff, 0xf9, 14 | 0x74, 0xff, 0xff, 0xa3, 0xff, 0xff, 0xa7, 0x6c, 0x71, 0xf9, 15 | 0x76, 0xc7, 0x1f, 0x97, 0x6c, 0x71, 0xf9, 0x3f, 0xf7, 0x4d, 16 | 0x3f, 0xf7, 0x4d, 0x3f, 0xf7, 0x4d, 0x3f, 0xf7, 0x4d, 0x6d, 17 | 0x6c, 0x7d, 0x6d, 0x6c, 0x7d, 0x6d, 0x6c, 0x7d, 0x6d, 0x6c, 18 | 0x7d, 0x6d, 0x6c, 0x7d, 0x6d, 0x6c, 0x7d, 0x6d, 0x6c, 0x7f, 19 | 0x93, 0xd6, 0xc7, 0xf9, 0x3d, 0x6c, 0x7f, 0x93, 0xd6, 0xc7, 20 | 0xff, 0xd3, 0xf9, 0x3d, 0x3f, 0xc6, 0xd3, 0xd3, 0xfc, 0x6d, 21 | 0x3d, 0x3f, 0xc6, 0xd0, 0x0, 22 | }; 23 | 24 | const gdl_Glyph_t CN_tryagainBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 25 | {0x0, 0x2, 0x21, 0x20, 0x0, 0x0, 0x24}, 26 | {0x518d, 0x59, 0x21, 0x20, 0x0, 0x0, 0x24}, 27 | {0x8bd5, 0x69, 0x21, 0x20, 0x0, 0x0, 0x24}, 28 | {0} 29 | }; 30 | 31 | const gdl_Font_t CN_tryagainBB_9_9_1_9Font36pt PROGMEM = { 32 | (uint8_t *)CN_tryagainBB_9_9_1_9Font36ptBitmaps, 33 | (gdl_Glyph_t *)CN_tryagainBB_9_9_1_9Font36ptGlyphs, 34 | 1, 0, 0x24, 35 | }; 36 | 37 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/SIMKAIFont18pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t SIMKAIFont18ptBitmaps[] PROGMEM = { 2 | 0x73, 0x97, 0x4a, 0x3a, 0x73, 0xb1, 0xb7, 0x3a, 0x2b, 0x72, 3 | 0xb2, 0xa1, 0xc5, 0xa2, 0xfa, 0x3b, 0x1d, 0x1b, 0x3c, 0x1a, 4 | 0x1c, 0x4d, 0x19, 0x2b, 0x59, 0x2a, 0x29, 0x1a, 0x72, 0xa1, 5 | 0xa1, 0xa1, 0xb5, 0xa1, 0xa1, 0xa1, 0xc4, 0xd1, 0xa2, 0xb4, 6 | 0xa1, 0x92, 0xa3, 0xa4, 0xa2, 0xc7, 0x2a, 0x4a, 0x77, 0x71, 7 | 0x0, 8 | 0x4a, 0x77, 0x2b, 0x4d, 0x6b, 0x1f, 0x96, 0xa3, 0x92, 0xb7, 9 | 0xd1, 0xc7, 0x1d, 0x2a, 0x2a, 0x1f, 0x91, 0xfa, 0x1c, 0x1f, 10 | 0xa6, 0xd4, 0xa7, 0x1b, 0x5a, 0x71, 0xc4, 0xa7, 0xe3, 0xa6, 11 | 0xb2, 0xf5, 0xa7, 0xb7, 0x71, 0xb7, 0x77, 0x20, 0x0, 12 | 0x2a, 0x2b, 0x2b, 0x3a, 0x2b, 0x2a, 0x20, 0x0, 13 | 0x74, 0xa7, 0x5a, 0x2b, 0x74, 0xb1, 0xb7, 0x1a, 0x1b, 0x1a, 14 | 0x72, 0xa1, 0xb1, 0xa7, 0x2a, 0x1f, 0xff, 0xff, 0xb2, 0xa7, 15 | 0x2a, 0x29, 0x2a, 0x72, 0xa2, 0xd7, 0x2a, 0x2c, 0x73, 0xa6, 16 | 0xa7, 0x1f, 0xc7, 0xfc, 0x71, 0x97, 0x50, 0x0, 17 | 0x77, 0x74, 0xf9, 0x71, 0xf1, 0xb7, 0x2f, 0xb7, 0x2f, 0xa7, 18 | 0x3f, 0xa7, 0x4f, 0x76, 0xa1, 0xb7, 0x5b, 0x2b, 0x73, 0xc1, 19 | 0xf6, 0xd1, 0xa1, 0xe2, 0xc1, 0xa1, 0xa7, 0x1b, 0x2a, 0x2a, 20 | 0x76, 0xa2, 0xa7, 0x5b, 0x2a, 0x74, 0xb3, 0xa7, 0x49, 0x5a, 21 | 0x77, 0x76, 0x0, 22 | 0xff, 0xfe, 0x3f, 0xa3, 0x0, 23 | }; 24 | 25 | const gdl_Glyph_t SIMKAIFont18ptGlyphs[] PROGMEM = { 26 | {0x0, 0x6, 0x13, 0x12, 0x0, 0x0, 0x12}, 27 | {0x4f60, 0x33, 0x11, 0x11, 0x0, 0x0, 0x12}, 28 | {0x597d, 0x27, 0x12, 0x10, 0x0, 0x1, 0x12}, 29 | {0xff0c, 0x8, 0x5, 0x6, 0x1, 0xc, 0x12}, 30 | {0x4e16, 0x26, 0x12, 0xf, 0x0, 0x1, 0x12}, 31 | {0x754c, 0x2b, 0x13, 0x12, 0x0, 0x0, 0x12}, 32 | {0xff01, 0x5, 0x3, 0xe, 0x4, 0x2, 0x12}, 33 | {0,0,0,0,0,0,0} 34 | }; 35 | 36 | const gdl_Font_t SIMKAIFont18pt PROGMEM = { 37 | (uint8_t *)SIMKAIFont18ptBitmaps, 38 | (gdl_Glyph_t *)SIMKAIFont18ptGlyphs, 39 | 1, 0, 0x12, 40 | }; 41 | 42 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/SIMKAIFont18pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t SIMKAIFont18ptBitmaps[] PROGMEM = { 2 | 0x73, 0x97, 0x4a, 0x3a, 0x73, 0xb1, 0xb7, 0x3a, 0x2b, 0x72, 3 | 0xb2, 0xa1, 0xc5, 0xa2, 0xfa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 0xfe, 0x3f, 0xa3, 0x0, 23 | }; 24 | 25 | const gdl_Glyph_t SIMKAIFont18ptGlyphs[] PROGMEM = { 26 | {0x0, 0x6, 0x13, 0x12, 0x0, 0x0, 0x12}, 27 | {0x4f60, 0x33, 0x11, 0x11, 0x0, 0x0, 0x12}, 28 | {0x597d, 0x27, 0x12, 0x10, 0x0, 0x1, 0x12}, 29 | {0xff0c, 0x8, 0x5, 0x6, 0x1, 0xc, 0x12}, 30 | {0x4e16, 0x26, 0x12, 0xf, 0x0, 0x1, 0x12}, 31 | {0x754c, 0x2b, 0x13, 0x12, 0x0, 0x0, 0x12}, 32 | {0xff01, 0x5, 0x3, 0xe, 0x4, 0x2, 0x12}, 33 | {0} 34 | }; 35 | 36 | const gdl_Font_t SIMKAIFont18pt PROGMEM = { 37 | (uint8_t *)SIMKAIFont18ptBitmaps, 38 | (gdl_Glyph_t *)SIMKAIFont18ptGlyphs, 39 | 1, 0, 0x12, 40 | }; 41 | 42 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_tiredBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_tiredBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb, 3 | 0x3c, 0x73, 0xc7, 0x1c, 0x3c, 0x73, 0xc7, 0x1c, 0x3c, 0x73, 4 | 0xc7, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 5 | 0xff, 0xb3, 0xc3, 0xc3, 0xc4, 0xf9, 0x3c, 0x3c, 0x3c, 0x4f, 6 | 0x93, 0xc3, 0xc3, 0xc4, 0xf9, 0x3f, 0xff, 0xfa, 0x3f, 0xff, 7 | 0xfa, 0x3f, 0xff, 0xfa, 0x3f, 0xff, 0xff, 0xa3, 0xc3, 0xc4, 8 | 0xff, 0x93, 0xc3, 0xc4, 0xff, 0x93, 0xc3, 0xc4, 0xff, 0xff, 9 | 0xfe, 0x3f, 0xff, 0xfa, 0x3f, 0xff, 0xfa, 0x3f, 0xff, 0xfa, 10 | 0x3c, 0x73, 0xc7, 0x1c, 0x3c, 0x73, 0xc7, 0x1c, 0x3c, 0x73, 11 | 0xc7, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 12 | 0xfe, 0x0, 13 | 0x3c, 0x3d, 0x73, 0xc7, 0xc3, 0xd7, 0x3c, 0x7c, 0x3d, 0x73, 14 | 0xc7, 0xff, 0x93, 0xf9, 0x74, 0xc3, 0xc3, 0xc7, 0x71, 0xc3, 15 | 0xc3, 0xc7, 0x71, 0xc3, 0xc3, 0xc7, 0x1f, 0xff, 0xff, 0xff, 16 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xb7, 0x77, 0x4f, 0x97, 17 | 0x77, 0x4f, 0x97, 0x77, 0x4f, 0x93, 0xff, 0xc4, 0xc7, 0xff, 18 | 0xc7, 0x71, 0xff, 0xc7, 0x71, 0xff, 0xc7, 0x71, 0xc3, 0xc3, 19 | 0xc7, 0x71, 0xc3, 0xc3, 0xc7, 0x71, 0xc3, 0xc3, 0xc7, 0x71, 20 | 0xc3, 0xc3, 0xc7, 0x71, 0xc3, 0xc3, 0xc7, 0x71, 0xc3, 0xc3, 21 | 0xc7, 0x71, 0xc3, 0xc3, 0xc7, 0x71, 0xff, 0xc4, 0xc7, 0x3d, 22 | 0x3c, 0x7c, 0x73, 0xd3, 0xc7, 0xff, 0xd3, 0xff, 0xfd, 0x7f, 23 | 0xff, 0xd7, 0xff, 0xfd, 0x7f, 0xf9, 0x0, 24 | }; 25 | 26 | const gdl_Glyph_t CN_tiredBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 27 | {0x0, 0x2, 0x21, 0x20, 0x0, 0x0, 0x24}, 28 | {0x7761, 0x66, 0x21, 0x20, 0x0, 0x0, 0x24}, 29 | {0x89c9, 0x6b, 0x21, 0x20, 0x0, 0x0, 0x24}, 30 | {0} 31 | }; 32 | 33 | const gdl_Font_t CN_tiredBB_9_9_1_9Font36pt PROGMEM = { 34 | (uint8_t *)CN_tiredBB_9_9_1_9Font36ptBitmaps, 35 | (gdl_Glyph_t *)CN_tiredBB_9_9_1_9Font36ptGlyphs, 36 | 1, 0, 0x24, 37 | }; 38 | 39 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_cuddleBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_cuddleBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x77, 0xc7, 0x4c, 0x77, 0xc7, 0x4c, 0x77, 0xc7, 0x4f, 0xff, 3 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xb7, 0x7c, 4 | 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x4d, 0x6c, 0x74, 5 | 0xc3, 0xd6, 0xc7, 0x4c, 0x3d, 0x6c, 0x74, 0xc3, 0xd6, 0xc7, 6 | 0x4c, 0x7c, 0x3f, 0x93, 0xc7, 0x4c, 0x3f, 0x93, 0xc7, 0x4c, 7 | 0x3f, 0x93, 0xc7, 0x4c, 0x3f, 0x93, 0xc7, 0x7f, 0x93, 0xc7, 8 | 0x74, 0xf9, 0x3c, 0x77, 0x4f, 0x93, 0xc7, 0x71, 0xfc, 0x3f, 9 | 0x97, 0x4c, 0x3c, 0x7c, 0x74, 0xc3, 0xc7, 0xc7, 0x4c, 0x3c, 10 | 0x7c, 0x4f, 0x96, 0xc7, 0x4f, 0xd6, 0xc7, 0x4f, 0xd6, 0xc7, 11 | 0x4f, 0xd2, 0xf9, 0x74, 0xc7, 0x3f, 0x97, 0x77, 0x4f, 0x97, 12 | 0x77, 0x4f, 0x97, 0x71, 0x0, 13 | 0x3d, 0x6c, 0x77, 0x4d, 0x6c, 0x77, 0x4d, 0x6c, 0x77, 0x4d, 14 | 0x6f, 0xfd, 0x3d, 0x6f, 0xfd, 0x3d, 0x6f, 0xfd, 0x3d, 0x6f, 15 | 0xff, 0xfe, 0x77, 0xff, 0xd7, 0x7f, 0xfd, 0x77, 0xff, 0xff, 16 | 0x94, 0xc3, 0xd6, 0xfc, 0x4c, 0x3d, 0x6f, 0xc4, 0xc3, 0xd6, 17 | 0xfc, 0x4c, 0x3d, 0x6c, 0x3c, 0x4c, 0x3d, 0x6c, 0x3c, 0x4c, 18 | 0x3d, 0x6c, 0x3c, 0x4c, 0x3f, 0x93, 0xfc, 0x4c, 0x3f, 0x93, 19 | 0xfc, 0x4c, 0x3f, 0x93, 0xfc, 0x4c, 0x3f, 0x93, 0xfc, 0x4f, 20 | 0xf9, 0x3f, 0xc4, 0xfd, 0x6c, 0x77, 0x1f, 0x96, 0xc7, 0x71, 21 | 0xf9, 0x6c, 0x74, 0xc3, 0xd6, 0xc7, 0x4c, 0x3d, 0x6c, 0x74, 22 | 0xc3, 0xd6, 0xc7, 0x4f, 0xd6, 0xff, 0xfe, 0x6f, 0xff, 0xe6, 23 | 0xff, 0xfe, 0x6f, 0xfd, 0x0, 24 | }; 25 | 26 | const gdl_Glyph_t CN_cuddleBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 27 | {0x0, 0x2, 0x21, 0x20, 0x0, 0x0, 0x24}, 28 | {0x6c42, 0x69, 0x21, 0x20, 0x0, 0x0, 0x24}, 29 | {0x62b1, 0x69, 0x21, 0x20, 0x0, 0x0, 0x24}, 30 | {0} 31 | }; 32 | 33 | const gdl_Font_t CN_cuddleBB_9_9_1_9Font36pt PROGMEM = { 34 | (uint8_t *)CN_cuddleBB_9_9_1_9Font36ptBitmaps, 35 | (gdl_Glyph_t *)CN_cuddleBB_9_9_1_9Font36ptGlyphs, 36 | 1, 0, 0x24, 37 | }; 38 | 39 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_tiredBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_tiredBB_9_9_1_9Font36ptBitmaps[]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c7, 0x71, 20 | 0xc3, 0xc3, 0xc7, 0x71, 0xc3, 0xc3, 0xc7, 0x71, 0xc3, 0xc3, 21 | 0xc7, 0x71, 0xc3, 0xc3, 0xc7, 0x71, 0xff, 0xc4, 0xc7, 0x3d, 22 | 0x3c, 0x7c, 0x73, 0xd3, 0xc7, 0xff, 0xd3, 0xff, 0xfd, 0x7f, 23 | 0xff, 0xd7, 0xff, 0xfd, 0x7f, 0xf9, 0x0, 24 | }; 25 | 26 | const gdl_Glyph_t CN_tiredBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 27 | {0x0, 0x2, 0x21, 0x20, 0x0, 0x0, 0x24}, 28 | {0x7761, 0x66, 0x21, 0x20, 0x0, 0x0, 0x24}, 29 | {0x89c9, 0x6b, 0x21, 0x20, 0x0, 0x0, 0x24}, 30 | {0} 31 | }; 32 | 33 | const gdl_Font_t CN_tiredBB_9_9_1_9Font36pt PROGMEM = { 34 | (uint8_t *)CN_tiredBB_9_9_1_9Font36ptBitmaps, 35 | (gdl_Glyph_t *)CN_tiredBB_9_9_1_9Font36ptGlyphs, 36 | 1, 0, 0x24, 37 | }; 38 | 39 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_cuddleBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_cuddleBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x77, 0xc7, 0x4c, 0x77, 0xc7, 0x4c, 0x77, 0xc7, 0x4f, 0xff, 3 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xb7, 0x7c, 4 | 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x4d, 0x6c, 0x74, 5 | 0xc3, 0xd6, 0xc7, 0x4c, 0x3d, 0x6c, 0x74, 0xc3, 0xd6, 0xc7, 6 | 0x4c, 0x7c, 0x3f, 0x93, 0xc7, 0x4c, 0x3f, 0x93, 0xc7, 0x4c, 7 | 0x3f, 0x93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s[] PROGMEM = { 27 | {0x0, 0x2, 0x21, 0x20, 0x0, 0x0, 0x24}, 28 | {0x6c42, 0x69, 0x21, 0x20, 0x0, 0x0, 0x24}, 29 | {0x62b1, 0x69, 0x21, 0x20, 0x0, 0x0, 0x24}, 30 | {0} 31 | }; 32 | 33 | const gdl_Font_t CN_cuddleBB_9_9_1_9Font36pt PROGMEM = { 34 | (uint8_t *)CN_cuddleBB_9_9_1_9Font36ptBitmaps, 35 | (gdl_Glyph_t *)CN_cuddleBB_9_9_1_9Font36ptGlyphs, 36 | 1, 0, 0x24, 37 | }; 38 | 39 | -------------------------------------------------------------------------------- /src/TouchDrivers/DFRobot_GT911.h: -------------------------------------------------------------------------------- 1 | #ifndef __DFROBOT_GT911_H 2 | #define __DFROBOT_GT911_H 3 | 4 | // GT911 Configuration Array Table 5 | // x-coordinate maximum output 0x0140=320 6 | // y-coordinate maximum output 0x01E0=480 7 | // 0x8047~0x80FE 168 registers 8 | // 0x80FF Configuration information check, the complement of the byte sum of 0x8047 ~ 0x80FE 9 | // 0x8100 Configuration update flag 10 | // Array organization 11 | // 1. Register start address 0x8047 12 | // 2. Number of data 0x00BA 13 | // Init array address 14 | static const uint8_t PROGMEM touchGT911ConfigTable[] = { 15 | 2, 16 | 1, 17 | 0x80, 0x47, 18 | 0x00, 0xBA,//(Register start address 0x8047, the number of data 0x00BA) 19 | 0x41, 0x40, 0x01, 0xE0, 0x01, 0x05, 0x05, 0x00, 0x01, 0x08, 20 | 0x28, 0x05, 0x50, 0x32, 0x03, 0x05, 0x00, 0x00, 0x00, 0x00, 21 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x87, 0x28, 0x0A, 22 | 0x17, 0x15, 0x31, 0x0D, 0x00, 0x00, 0x00, 0x9A, 0x04, 0x25, 23 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x64, 0x32, 0x00, 0x00, 24 | 0x00, 0x0F, 0x94, 0x94, 0xC5, 0x02, 0x07, 0x00, 0x00, 0x04, 25 | 0x8D, 0x13, 0x00, 0x5C, 0x1E, 0x00, 0x3B, 0x30, 0x00, 0x28, 26 | 0x4C, 0x00, 0x1C, 0x78, 0x00, 0x1C, 0x00, 0x00, 0x00, 0x00, 27 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 28 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 29 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 30 | 0x00, 0x00, 0x14, 0x12, 0x10, 0x0E, 0x0C, 0x0A, 0x08, 0x06, 31 | 0x04, 0x02, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 32 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 33 | 0x00, 0x00, 0x00, 0x02, 0x04, 0x06, 0x08, 0x0A, 0x0C, 0x26, 34 | 0x24, 0x22, 0x21, 0x20, 0x1F, 0x1E, 0x1D, 0xFF, 0xFF, 0xFF, 35 | 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 36 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 37 | 0x00, 0x00, 0x00, 0x00, 0x12, 0x00 38 | }; 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_sleepingBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_sleepingBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x7d, 0x2c, 0x74, 0xd2, 0xc4, 0xfd, 0x2c, 0x4f, 0x96, 0xc4, 3 | 0xf9, 0x6c, 0x71, 0xc2, 0xa2, 0xc1, 0xb4, 0xc2, 0xa2, 0xc1, 4 | 0xff, 0x92, 0xc1, 0xff, 0x92, 0xc1, 0xff, 0x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 22 | 0x3c, 0x2f, 0xff, 0xc2, 0xff, 0xe2, 0xff, 0xe6, 0xc3, 0xc2, 23 | 0xb6, 0xc3, 0xc7, 0xd6, 0xc7, 0xd6, 0xc7, 0xd6, 0xc2, 0x0, 24 | }; 25 | 26 | const gdl_Glyph_t CN_sleepingBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 27 | {0x0, 0x4, 0x16, 0x16, 0x0, 0x0, 0x18}, 28 | {0x79d2, 0x3b, 0x16, 0x16, 0x0, 0x0, 0x18}, 29 | {0x540e, 0x31, 0x16, 0x16, 0x0, 0x0, 0x18}, 30 | {0x9ed1, 0x35, 0x16, 0x16, 0x0, 0x0, 0x18}, 31 | {0x5c4f, 0x32, 0x16, 0x16, 0x0, 0x0, 0x18}, 32 | {0} 33 | }; 34 | 35 | const gdl_Font_t CN_sleepingBB_9_9_1_9Font24pt PROGMEM = { 36 | (uint8_t *)CN_sleepingBB_9_9_1_9Font24ptBitmaps, 37 | (gdl_Glyph_t *)CN_sleepingBB_9_9_1_9Font24ptGlyphs, 38 | 1, 0, 0x18, 39 | }; 40 | 41 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_hungryBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_hungryBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0xff, 0x96, 0xc7, 0x1f, 0xf9, 0x6c, 0x71, 0xff, 0x96, 0xc7, 3 | 0x1f, 0xf9, 0x6c, 0x71, 0xc6, 0xd6, 0xc7, 0x1c, 0x6d, 0x6c, 4 | 0x71, 0xc6, 0xd6, 0xc7, 0x1f, 0xf9, 0x6c, 0x71, 0xff, 0x96, 5 | 0xc7, 0x1f, 0xf9, 0x6c, 0x71, 0xff, 0xff, 0xfa, 0x6f, 0xff, 6 | 0xe6, 0xff, 0xfe, 0x6f, 0xff, 0xe6, 0xd6, 0xc7, 0x1c, 0x6d, 7 | 0x6c, 0x71, 0xc6, 0xd6, 0xc7, 0x1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xd7, 0xc3, 0xc3, 0xfd, 0x7c, 25 | 0x0, 26 | }; 27 | 28 | const gdl_Glyph_t CN_hungryBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 29 | {0x0, 0x2, 0x21, 0x20, 0x0, 0x0, 0x24}, 30 | {0x809a, 0x6b, 0x21, 0x20, 0x0, 0x0, 0x24}, 31 | {0x997f, 0x79, 0x21, 0x20, 0x0, 0x0, 0x24}, 32 | {0} 33 | }; 34 | 35 | const gdl_Font_t CN_hungryBB_9_9_1_9Font36pt PROGMEM = { 36 | (uint8_t *)CN_hungryBB_9_9_1_9Font36ptBitmaps, 37 | (gdl_Glyph_t *)CN_hungryBB_9_9_1_9Font36ptGlyphs, 38 | 1, 0, 0x24, 39 | }; 40 | 41 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_sleepingBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_sleepingBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x7d, 0x2c, 0x74, 0xd2, 0xc4, 0xfd, 0x2c, 0x4f, 0x96, 0xc4, 3 | 0xf9, 0x6c, 0x71, 0xc2, 0xa2, 0xc1, 0xb4, 0xc2, 0xa2, 0xc1, 4 | 0xff, 0x92, 0xc1, 0xff, 0x92, 0xc1, 0xff, 0x92, 0xc1, 0xb4, 5 | 0xc6, 0xc7, 0x1c, 0x6c, 0x6e, 0x4e, 0x6e, 0x4e, 0x4f, 0xb2, 6 | 0xe1, 0xe1, 0xe7, 0x2e, 0x1e, 0x72, 0xb4, 0xc6, 0xe6, 0xc6, 7 | 0xe6, 0xc2, 0xfb, 0x6c, 0x2d, 0x74, 0xc2, 0xd7, 0x0, 8 | 0x77, 0xf9, 0x77, 0xf9, 0x2f, 0xfe, 0x2f, 0xe7, 0x2f, 0xe7, 9 | 0x2b, 0x77, 0x5b, 0x77, 0x5f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 10 | 0x2b, 0x77, 0x5b, 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0x0, 0x18}, 31 | {0x5c4f, 0x32, 0x16, 0x16, 0x0, 0x0, 0x18}, 32 | {0} 33 | }; 34 | 35 | const gdl_Font_t CN_sleepingBB_9_9_1_9Font24pt PROGMEM = { 36 | (uint8_t *)CN_sleepingBB_9_9_1_9Font24ptBitmaps, 37 | (gdl_Glyph_t *)CN_sleepingBB_9_9_1_9Font24ptGlyphs, 38 | 1, 0, 0x18, 39 | }; 40 | 41 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_sleepinginBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_sleepinginBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x7d, 0x2c, 0x74, 0xd2, 0xc4, 0xfd, 0x2c, 0x4f, 0x96, 0xc4, 3 | 0xf9, 0x6c, 0x71, 0xc2, 0xa2, 0xc1, 0xb4, 0xc2, 0xa2, 0xc1, 4 | 0xff, 0x92, 0xc1, 0xff, 0x92, 0xc1, 0xff, 0x92, 0xc1, 0xb4, 5 | 0xc6, 0xc7, 0x1c, 0x6c, 0x6e, 0x4e, 0x6e, 0x4e, 0x4f, 0xb2, 6 | 0xe1, 0xe1, 0xe7, 0x2e, 0x1e, 0x72, 0xb4, 0xc6, 0xe6, 0xc6, 7 | 0xe6, 0xc2, 0xfb, 0x6c, 0x2d, 0x74, 0xc2, 0xd7, 0x0, 8 | 0x77, 0xf9, 0x77, 0xf9, 0x2f, 0xfe, 0x2f, 0xe7, 0x2f, 0xe7, 9 | 0x2b, 0x77, 0x5b, 0x77, 0x5f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 10 | 0x2b, 0x77, 0x5b, 0x77, 0x5b, 0x2f, 0xf9, 0x2b, 0x2f, 0xfe, 11 | 0x2f, 0xfc, 0x4b, 0x71, 0xf4, 0xb7, 0x1f, 0x4b, 0x71, 0xf4, 12 | 0xb7, 0x1c, 0x7f, 0xf9, 0x7f, 0xf9, 0x7f, 0xf9, 0x0, 13 | 0x2f, 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 0x4b, 0x4b, 0x4c, 0x4b, 14 | 0x4b, 0x4c, 0x4f, 0x92, 0xf9, 0x4f, 0x92, 0xf9, 0x4f, 0xfc, 15 | 0x4b, 0x4b, 0x4c, 0x4f, 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 0x4f, 16 | 0xfc, 0x74, 0xb7, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xb7, 0x77, 17 | 0x77, 0x72, 0xb1, 0xc4, 0xb4, 0xe1, 0xc4, 0xb4, 0xe1, 0xc4, 18 | 0xb4, 0xb0, 0x0, 19 | 0x2f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2b, 0x77, 0xb2, 0xb7, 20 | 0x7b, 0x2f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2b, 0x2b, 0x6c, 21 | 0x4f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2b, 0x4c, 22 | 0x3c, 0x2f, 0xff, 0xc2, 0xff, 0xe2, 0xff, 0xe6, 0xc3, 0xc2, 23 | 0xb6, 0xc3, 0xc7, 0xd6, 0xc7, 0xd6, 0xc7, 0xd6, 0xc2, 0x0, 24 | }; 25 | 26 | const gdl_Glyph_t CN_sleepinginBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 27 | {0x0, 0x4, 0x16, 0x16, 0x0, 0x0, 0x18}, 28 | {0x79d2, 0x3b, 0x16, 0x16, 0x0, 0x0, 0x18}, 29 | {0x540e, 0x31, 0x16, 0x16, 0x0, 0x0, 0x18}, 30 | {0x9ed1, 0x35, 0x16, 0x16, 0x0, 0x0, 0x18}, 31 | {0x5c4f, 0x32, 0x16, 0x16, 0x0, 0x0, 0x18}, 32 | {0} 33 | }; 34 | 35 | const gdl_Font_t CN_sleepinginBB_9_9_1_9Font24pt PROGMEM = { 36 | (uint8_t *)CN_sleepinginBB_9_9_1_9Font24ptBitmaps, 37 | (gdl_Glyph_t *)CN_sleepinginBB_9_9_1_9Font24ptGlyphs, 38 | 1, 0, 0x18, 39 | }; 40 | 41 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_hungryBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_hungryBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0xff, 0x96, 0xc7, 0x1f, 0xf9, 0x6c, 0x71, 0xff, 0x96, 0xc7, 3 | 0x1f, 0xf9, 0x6c, 0x71, 0xc6, 0xd6, 0xc7, 0x1c, 0x6d, 0x6c, 4 | 0x71, 0xc6, 0xd6, 0xc7, 0x1f, 0xf9, 0x6c, 0x71, 0xff, 0x96, 5 | 0xc7, 0x1f, 0xf9, 0x6c, 0x71, 0xff, 0xff, 0xfa, 0x6f, 0xff, 6 | 0xe6, 0xff, 0xfe, 0x6f, 0xff, 0xe6, 0xd6, 0xc7, 0x1c, 0x6d, 7 | 0x6c, 0x71, 0xc6, 0xd6, 0xc7, 0x1c, 0x6d, 0x6c, 0x71, 0xff, 8 | 0x96, 0xc7, 0x1f, 0xf9, 0x6c, 0x71, 0xff, 0x96, 0xc7, 0x1f, 9 | 0xf9, 0x6c, 0x71, 0xc6, 0xd6, 0xc7, 0x1c, 0x6d, 0x6c, 0x71, 10 | 0xc6, 0xd6, 0xc7, 0x1c, 0x6d, 0x6c, 0x71, 0xc6, 0xd6, 0xc7, 11 | 0x1c, 0x6d, 0x6c, 0x71, 0xc3, 0xff, 0xff, 0xa3, 0xff, 0xff, 12 | 0xa3, 0xff, 0xff, 0xa3, 0xff, 0xfd, 0x0, 13 | 0x3c, 0x73, 0xf9, 0x4c, 0x3c, 0x73, 0xf9, 0x4c, 0x3c, 0x73, 14 | 0xf9, 0x4c, 0x3f, 0xff, 0x94, 0xc3, 0xff, 0x93, 0xc4, 0xc3, 15 | 0xff, 0x93, 0xc4, 0xc3, 0xff, 0x93, 0xc4, 0xff, 0x93, 0xc3, 16 | 0xc4, 0xf9, 0x3c, 0x3c, 0x3c, 0x71, 0xc3, 0xc3, 0xc3, 0xc7, 17 | 0x1f, 0xff, 0xfd, 0x3c, 0x3f, 0xff, 0xa3, 0xc3, 0xff, 0xfa, 18 | 0x3c, 0x3f, 0xff, 0xa3, 0xc7, 0xc3, 0xc7, 0x4c, 0x7c, 0x3c, 19 | 0x74, 0xc7, 0xc3, 0xc7, 0x4c, 0x7c, 0x3c, 0x74, 0xc7, 0xfc, 20 | 0x4c, 0x3c, 0x7f, 0xc4, 0xc3, 0xc7, 0xfc, 0x4c, 0x3c, 0x3f, 21 | 0xff, 0xa3, 0xc3, 0xf9, 0x7c, 0x7c, 0x3f, 0x97, 0xc7, 0xc3, 22 | 0xf9, 0x7f, 0x93, 0xf9, 0x3c, 0x3c, 0x4c, 0x3f, 0x93, 0xc3, 23 | 0xc4, 0xc3, 0xf9, 0x3c, 0x3c, 0x4c, 0x3f, 0xff, 0x94, 0xc3, 24 | 0xc3, 0xfd, 0x7c, 0x3c, 0x3f, 0xd7, 0xc3, 0xc3, 0xfd, 0x7c, 25 | 0x0, 26 | }; 27 | 28 | const gdl_Glyph_t CN_hungryBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 29 | {0x0, 0x2, 0x21, 0x20, 0x0, 0x0, 0x24}, 30 | {0x809a, 0x6b, 0x21, 0x20, 0x0, 0x0, 0x24}, 31 | {0x997f, 0x79, 0x21, 0x20, 0x0, 0x0, 0x24}, 32 | {0} 33 | }; 34 | 35 | const gdl_Font_t CN_hungryBB_9_9_1_9Font36pt PROGMEM = { 36 | (uint8_t *)CN_hungryBB_9_9_1_9Font36ptBitmaps, 37 | (gdl_Glyph_t *)CN_hungryBB_9_9_1_9Font36ptGlyphs, 38 | 1, 0, 0x24, 39 | }; 40 | 41 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_sleepinginBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_sleepinginBB_9_9_1_9Font24ptBitm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 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2b, 0x77, 0xb2, 0xb7, 20 | 0x7b, 0x2f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2b, 0x2b, 0x6c, 21 | 0x4f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2f, 0xfe, 0x2b, 0x4c, 22 | 0x3c, 0x2f, 0xff, 0xc2, 0xff, 0xe2, 0xff, 0xe6, 0xc3, 0xc2, 23 | 0xb6, 0xc3, 0xc7, 0xd6, 0xc7, 0xd6, 0xc7, 0xd6, 0xc2, 0x0, 24 | }; 25 | 26 | const gdl_Glyph_t CN_sleepinginBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 27 | {0x0, 0x4, 0x16, 0x16, 0x0, 0x0, 0x18}, 28 | {0x79d2, 0x3b, 0x16, 0x16, 0x0, 0x0, 0x18}, 29 | {0x540e, 0x31, 0x16, 0x16, 0x0, 0x0, 0x18}, 30 | {0x9ed1, 0x35, 0x16, 0x16, 0x0, 0x0, 0x18}, 31 | {0x5c4f, 0x32, 0x16, 0x16, 0x0, 0x0, 0x18}, 32 | {0} 33 | }; 34 | 35 | const gdl_Font_t CN_sleepinginBB_9_9_1_9Font24pt PROGMEM = { 36 | (uint8_t *)CN_sleepinginBB_9_9_1_9Font24ptBitmaps, 37 | (gdl_Glyph_t *)CN_sleepinginBB_9_9_1_9Font24ptGlyphs, 38 | 1, 0, 0x18, 39 | }; 40 | 41 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_analyzeBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_analyzeBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x72, 0xb7, 0x75, 0xb7, 0x75, 0xfc, 0x74, 0xfc, 0x74, 0xfc, 3 | 0x74, 0xb7, 0x75, 0xb7, 0x5f, 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 4 | 0x4b, 0x74, 0xc4, 0xb7, 0x4c,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xe1, 0xb4, 0xc2, 0xf9, 0x1b, 0x4c, 23 | 0x2b, 0x1c, 0x1b, 0x4c, 0x2b, 0x1c, 0x1b, 0x4c, 0x2b, 0x1e, 24 | 0x6c, 0x2b, 0x1e, 0x6c, 0x6c, 0x71, 0xc6, 0xc7, 0x1c, 0x6c, 25 | 0x71, 0xc2, 0x0, 26 | }; 27 | 28 | const gdl_Glyph_t CN_analyzeBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 29 | {0x0, 0x4, 0x16, 0x16, 0x0, 0x0, 0x18}, 30 | {0x70b9, 0x34, 0x16, 0x16, 0x0, 0x0, 0x18}, 31 | {0x51fb, 0x32, 0x16, 0x16, 0x0, 0x0, 0x18}, 32 | {0x5206, 0x35, 0x16, 0x16, 0x0, 0x0, 0x18}, 33 | {0x6790, 0x3f, 0x16, 0x16, 0x0, 0x0, 0x18}, 34 | {0} 35 | }; 36 | 37 | const gdl_Font_t CN_analyzeBB_9_9_1_9Font24pt PROGMEM = { 38 | (uint8_t *)CN_analyzeBB_9_9_1_9Font24ptBitmaps, 39 | (gdl_Glyph_t *)CN_analyzeBB_9_9_1_9Font24ptGlyphs, 40 | 1, 0, 0x18, 41 | }; 42 | 43 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_analyzeBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_analyzeBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x72, 0xb7, 0x75, 0xb7, 0x75, 0xfc, 0x74, 0xfc, 0x74, 0xfc, 3 | 0x74, 0xb7, 0x75, 0xb7, 0x5f, 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 4 | 0x4b, 0x74, 0xc4, 0xb7, 0x4c, 0x4f, 0xfc, 0x4f, 0xfc, 0x4f, 5 | 0xfc, 0x77, 0x77, 0x77, 0x6b, 0x2b, 0x2b, 0x1c, 0x4b, 0x2b, 6 | 0x2b, 0x1c, 0x2d, 0x2f, 0xfc, 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 0x6c, 0x71, 0xc6, 0xc7, 0x1c, 0x6c, 25 | 0x71, 0xc2, 0x0, 26 | }; 27 | 28 | const gdl_Glyph_t CN_analyzeBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 29 | {0x0, 0x4, 0x16, 0x16, 0x0, 0x0, 0x18}, 30 | {0x70b9, 0x34, 0x16, 0x16, 0x0, 0x0, 0x18}, 31 | {0x51fb, 0x32, 0x16, 0x16, 0x0, 0x0, 0x18}, 32 | {0x5206, 0x35, 0x16, 0x16, 0x0, 0x0, 0x18}, 33 | {0x6790, 0x3f, 0x16, 0x16, 0x0, 0x0, 0x18}, 34 | {0} 35 | }; 36 | 37 | const gdl_Font_t CN_analyzeBB_9_9_1_9Font24pt PROGMEM = { 38 | (uint8_t *)CN_analyzeBB_9_9_1_9Font24ptBitmaps, 39 | (gdl_Glyph_t *)CN_analyzeBB_9_9_1_9Font24ptGlyphs, 40 | 1, 0, 0x18, 41 | }; 42 | 43 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_analysis_failedBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_analysis_failedBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x72, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 3 | 0x3f, 0xff, 0xff, 0xff, 0xff, 0xb7, 0x2b, 0x77, 0x5b, 0x77, 4 | 0x5b, 0x77, 0x5b, 0x77, 0x3b, 0x2b, 0x77, 0xb2, 0xb7, 0x4e, 5 | 0x2d, 0x72, 0xc6, 0xb7, 0x2c, 0x6b, 0x7b, 0x2b, 0x7a, 0x5b, 6 | 0x2b, 0x7a, 0x3d, 0x2d, 0x5f, 0x96, 0xb7, 0xe6, 0xb7, 0xb0, 7 | 0x0, 8 | 0x4c, 0x4b, 0x74, 0xc4, 0xb7, 0xb1, 0xc1, 0xff, 0xa1, 0xc1, 9 | 0xff, 0xa1, 0xc1, 0xff, 0xa1,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ph_t CN_analysis_failedBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 30 | {0x0, 0x4, 0x16, 0x16, 0x0, 0x0, 0x18}, 31 | {0x592a, 0x33, 0x16, 0x16, 0x0, 0x0, 0x18}, 32 | {0x70e7, 0x44, 0x16, 0x16, 0x0, 0x0, 0x18}, 33 | {0x8111, 0x41, 0x16, 0x16, 0x0, 0x0, 0x18}, 34 | {0x4e86, 0x2d, 0x16, 0x16, 0x0, 0x0, 0x18}, 35 | {0} 36 | }; 37 | 38 | const gdl_Font_t CN_analysis_failedBB_9_9_1_9Font24pt PROGMEM = { 39 | (uint8_t *)CN_analysis_failedBB_9_9_1_9Font24ptBitmaps, 40 | (gdl_Glyph_t *)CN_analysis_failedBB_9_9_1_9Font24ptGlyphs, 41 | 1, 0, 0x18, 42 | }; 43 | 44 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_analysis_failedBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_analysis_failedBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x72, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 3 | 0x3f, 0xff, 0xff, 0xff, 0xff, 0xb7, 0x2b, 0x77, 0x5b, 0x77, 4 | 0x5b, 0x77, 0x5b, 0x77, 0x3b, 0x2b, 0x77, 0xb2, 0xb7, 0x4e, 5 | 0x2d, 0x72, 0xc6, 0xb7, 0x2c, 0x6b, 0x7b, 0x2b, 0x7a, 0x5b, 6 | 0x2b, 0x7a, 0x3d, 0x2d, 0x5f, 0x96, 0xb7, 0xe6, 0xb7, 0xb0, 7 | 0x0, 8 | 0x4c, 0x4b, 0x74, 0xc4, 0xb7, 0xb1, 0xc1, 0xff, 0xa1, 0xc1, 9 | 0xff, 0xa1, 0xc1, 0xff, 0xa1, 0xe2, 0xb2, 0xa3, 0xb1, 0xe2, 10 | 0xb2, 0xa3, 0xb1, 0xe2, 0xfe,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16, 0x0, 0x0, 0x18}, 31 | {0x592a, 0x33, 0x16, 0x16, 0x0, 0x0, 0x18}, 32 | {0x70e7, 0x44, 0x16, 0x16, 0x0, 0x0, 0x18}, 33 | {0x8111, 0x41, 0x16, 0x16, 0x0, 0x0, 0x18}, 34 | {0x4e86, 0x2d, 0x16, 0x16, 0x0, 0x0, 0x18}, 35 | {0} 36 | }; 37 | 38 | const gdl_Font_t CN_analysis_failedBB_9_9_1_9Font24pt PROGMEM = { 39 | (uint8_t *)CN_analysis_failedBB_9_9_1_9Font24ptBitmaps, 40 | (gdl_Glyph_t *)CN_analysis_failedBB_9_9_1_9Font24ptGlyphs, 41 | 1, 0, 0x18, 42 | }; 43 | 44 | -------------------------------------------------------------------------------- /src/Frame/gfxfont.h: -------------------------------------------------------------------------------- 1 | // Font structures for newer Adafruit_GFX (1.1 and later). 2 | // Example fonts are included in 'Fonts' directory. 3 | // To use a font in your Arduino sketch, #include the corresponding .h 4 | // file and pass address of GFXfont struct to setFont(). Pass NULL to 5 | // revert to 'classic' fixed-space bitmap font. 6 | 7 | #ifndef _GFXFONT_H_ 8 | #define _GFXFONT_H_ 9 | 10 | /// Font data stored PER GLYPH 11 | typedef struct { 12 | uint16_t bitmapOffset; ///< Pointer into GFXfont->bitmap 13 | uint8_t width; ///< Bitmap dimensions in pixels 14 | uint8_t height; ///< Bitmap dimensions in pixels 15 | uint8_t xAdvance; ///< Distance to advance cursor (x axis) 16 | int8_t xOffset; ///< X dist from cursor pos to UL corner 17 | int8_t yOffset; ///< Y dist from cursor pos to UL corner 18 | } GFXglyph; 19 | 20 | /// Data stored for FONT AS A WHOLE 21 | typedef struct { 22 | uint8_t *bitmap; ///< Glyph bitmaps, concatenated 23 | GFXglyph *glyph; ///< Glyph array 24 | uint8_t first; ///< ASCII extents (first char) 25 | uint8_t last; ///< ASCII extents (last char) 26 | uint8_t yAdvance; ///< Newline distance (y axis) 27 | } GFXfont; 28 | 29 | #include "Fonts/FreeMono9pt7b.h" 30 | #include "Fonts/FreeMono12pt7b.h"//正常字体 31 | #include "Fonts/FreeMono18pt7b.h"//正常字体 32 | #include "Fonts/FreeMono24pt7b.h"//正常字体 33 | #include "Fonts/FreeMonoBold12pt7b.h" 34 | #include "Fonts/FreeMonoBoldOblique12pt7b.h" 35 | #include "Fonts/FreeMonoOblique12pt7b.h" 36 | #include "Fonts/FreeSans12pt7b.h" 37 | #include "Fonts/FreeSansBold9pt7b.h" 38 | #include "Fonts/FreeSansBold12pt7b.h" 39 | #include "Fonts/FreeSansBoldOblique12pt7b.h" 40 | #include "Fonts/FreeSansOblique12pt7b.h" 41 | #include "Fonts/FreeSerif12pt7b.h" 42 | #include "Fonts/FreeSerifBold12pt7b.h" 43 | #include "Fonts/FreeSerifBoldItalic12pt7b.h" 44 | #include "Fonts/FreeSerifItalic12pt7b.h" 45 | #include "Fonts/FreeMonoBoldOblique9pt7b.h" 46 | #include "Fonts/FreeSans18pt7b.h" 47 | 48 | #include "Fonts/FreeSans9pt7b.h" 49 | #include "Fonts/FreeSerif9pt7b.h" 50 | 51 | 52 | #endif // _GFXFONT_H_ 53 | -------------------------------------------------------------------------------- /src/Fonts/DFRobot_Font.h: -------------------------------------------------------------------------------- 1 | #include "Fonts/SIMKAIFont12pt.h" 2 | #include "Fonts/SIMKAIFont18pt.h" 3 | #include "Fonts/SIMKAIFont24pt.h" 4 | #include "Fonts/SIMKAIFont36pt.h" 5 | #include "Fonts/SIMKAIFont48pt.h" 6 | #include "Fonts/SIMKAIFont72pt.h" 7 | #include "Fonts/malgunFont24pt.h" 8 | #include "Fonts/flashFont.h" 9 | #include "Fonts/CN_prokidoBB_9_9_1_9Font36pt.h" 10 | #include "Fonts/CN_loadingBB_9_9_1_9Font24pt.h" 11 | #include "Fonts/CN_loadingBB_9_9_1_9Font36pt.h" 12 | #include "Fonts/CN_analyzeBB_9_9_1_9Font24pt.h" 13 | #include "Fonts/CN_analyzeBB_9_9_1_9Font36pt.h" 14 | #include "Fonts/CN_listeningBB_9_9_1_9Font24pt.h" 15 | #include "Fonts/CN_listeningBB_9_9_1_9Font36pt.h" 16 | #include "Fonts/CN_recording_failedBB_9_9_1_9Font24pt.h" 17 | #include "Fonts/CN_recording_failedBB_9_9_1_9Font36pt.h" 18 | #include "Fonts/CN_analysingBB_9_9_1_9Font24pt.h" 19 | #include "Fonts/CN_analysingBB_9_9_1_9Font36pt.h" 20 | #include "Fonts/CN_analysis_failedBB_9_9_1_9Font24pt.h" 21 | #include "Fonts/CN_analysis_failedBB_9_9_1_9Font36pt.h" 22 | #include "Fonts/CN_uncertainBB_9_9_1_9Font36pt.h" // CN for "Uncertain" in uze 36, equivalent to size 4 for default eng font 23 | #include "Fonts/CN_hungryBB_9_9_1_9Font36pt.h" // CN for "Hungry" in size 36, equivalent to size 4 for default eng font 24 | #include "Fonts/CN_tiredBB_9_9_1_9Font36pt.h" // CN for "Sleepy" in size 36, equivalent to size 4 for default eng font 25 | #include "Fonts/CN_discomfortBB_9_9_1_9Font36pt.h" // CN for "Uncomfortable" in size 36, equivalent to size 4 for default eng font 26 | #include "Fonts/CN_sickBB_9_9_1_9Font36pt.h" // CN for "Sick" in size 36, equivalent to size 4 for default eng font 27 | #include "Fonts/CN_cuddleBB_9_9_1_9Font36pt.h" // CN for "Cuddle" in size 36, equivalent to size 4 for default eng font 28 | #include "Fonts/CN_tryagainBB_9_9_1_9Font24pt.h" 29 | #include "Fonts/CN_tryagainBB_9_9_1_9Font36pt.h" 30 | #include "Fonts/CN_stayawakeBB_9_9_1_9Font24pt.h" 31 | #include "Fonts/CN_stayawakeBB_9_9_1_9Font36pt.h" 32 | #include "Fonts/CN_sleepinginBB_9_9_1_9Font24pt.h" 33 | #include "Fonts/CN_sleepinginBB_9_9_1_9Font36pt.h" 34 | #include "Fonts/CN_sleepingBB_9_9_1_9Font24pt.h" 35 | #include "Fonts/CN_sleepingBB_9_9_1_9Font36pt.h" -------------------------------------------------------------------------------- /src/Fonts/Fonts/malgunFont24pt.h: -------------------------------------------------------------------------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19 | 0x1b, 0x5b, 0x5b, 0x1b, 0x5b, 0x5b, 0x1b, 0x5b, 0x5b, 0x1b, 20 | 0x5b, 0x5b, 0x1b, 0x5b, 0x1f, 0x1b, 0x5b, 0x1f, 0x1b, 0x4d, 21 | 0x4b, 0x1b, 0x4d, 0x4b, 0x1b, 0x3b, 0x1a, 0x4b, 0x1b, 0x3b, 22 | 0x1b, 0x3b, 0x1b, 0x2b, 0x2b, 0x3b, 0x1b, 0x1c, 0x3b, 0x2b, 23 | 0x1f, 0x5b, 0x1b, 0x1e, 0x6b, 0x1b, 0x1b, 0x76, 0xb1, 0xb7, 24 | 0x6b, 0x1b, 0x76, 0xb1, 0xb7, 0x6b, 0x1b, 0x77, 0x3b, 0x0, 25 | 0x6f, 0xb7, 0x3f, 0xf7, 0x1f, 0xf7, 0xc7, 0x1c, 0x6b, 0x73, 26 | 0xb6, 0xb7, 0x3b, 0x6b, 0x73, 0xb6, 0xc7, 0x1c, 0x7f, 0xf7, 27 | 0x1f, 0xf7, 0x2f, 0xd7, 0x3b, 0x6b, 0x73, 0xb6, 0xb7, 0x3b, 28 | 0x6b, 0x73, 0xb6, 0xb5, 0xff, 0xff, 0xff, 0xa0, 0x0, 29 | }; 30 | 31 | const gdl_Glyph_t malgunFont24ptGlyphs[] PROGMEM = { 32 | {0x0, 0x5, 0x16, 0x17, 0x1, 0x0, 0x18}, 33 | {0xc548, 0x36, 0x15, 0x16, 0x2, 0x0, 0x18}, 34 | {0xb155, 0x27, 0x11, 0x16, 0x4, 0x0, 0x18}, 35 | {0xd558, 0x39, 0x16, 0x17, 0x1, 0x0, 0x18}, 36 | {0xc138, 0x46, 0x14, 0x17, 0x1, 0x0, 0x18}, 37 | {0xc694, 0x27, 0x16, 0x11, 0x1, 0x3, 0x18}, 38 | {0,0,0,0,0,0,0} 39 | }; 40 | 41 | const gdl_Font_t malgunFont24pt PROGMEM = { 42 | (uint8_t *)malgunFont24ptBitmaps, 43 | (gdl_Glyph_t *)malgunFont24ptGlyphs, 44 | 1, 0, 0x1c, 45 | }; 46 | 47 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/malgunFont24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t malgunFont24ptBitmaps[] PROGMEM = { 2 | 0x77, 0x1b, 0x5f, 0x95, 0xb4, 0xfb, 0x4b, 0x4f, 0xc3, 0xb3, 3 | 0xc5, 0xb3, 0xb3, 0xb6, 0xb3, 0xb3, 0xb7, 0xb2, 0xb3, 0xb7, 4 | 0xb2, 0xfa, 0x6b, 0x3f, 0xb5, 0xb3, 0xb4, 0xfc, 0x3b, 0x4f, 5 | 0xb4, 0xb5, 0xf9, 0x5b, 0x77, 0x4b, 0x77, 0x4b, 0x6a, 0x73, 6 | 0xb6, 0xa7, 0x75, 0xa7, 0x75, 0xa7, 0x75, 0xa7, 0x75, 0xff, 7 | 0x96, 0xff, 0x93, 0x0, 8 | 0x77, 0xd7, 0x5d, 0x75, 0xd5, 0xfd, 0x5f, 0xd7, 0x5d, 0x75, 9 | 0xd5, 0xfd, 0x5f, 0xd7, 0x5d, 0x75, 0xff, 0x92, 0xff, 0xa1, 10 | 0xb7, 0x7b, 0x3f, 0xd4, 0xff, 0x2f, 0xfa, 0x1c, 0x72, 0xb1, 11 | 0xc7, 0x2b, 0x1f, 0xfa, 0x2f, 0xf4, 0xfd, 0x20, 0x0, 12 | 0x6b, 0x7b, 0x72, 0xb7, 0xb7, 0x2b, 0x7b, 0x72, 0xb7, 0xb3, 13 | 0xff, 0x91, 0xb3, 0xff, 0x91, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 14 | 0xf5, 0xb5, 0xfb, 0x4b, 0x5f, 0xc3, 0xb4, 0xc5, 0xc2, 0xe1, 15 | 0xb7, 0xb2, 0xe1, 0xb7, 0xb2, 0xb4, 0xc5, 0xc2, 0xb5, 0xfc, 16 | 0x3b, 0x5f, 0xc3, 0xb7, 0xf5, 0xb7, 0x75, 0xb7, 0x75, 0xb7, 17 | 0x75, 0xb7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41 | const gdl_Font_t malgunFont24pt PROGMEM = { 42 | (uint8_t *)malgunFont24ptBitmaps, 43 | (gdl_Glyph_t *)malgunFont24ptGlyphs, 44 | 1, 0, 0x1c, 45 | }; 46 | 47 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_stayawakeBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_stayawakeBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x2b, 0x2d, 0x2b, 0x2b, 0x2b, 0x2d, 0x2b, 0x2b, 0x2b, 0x2f, 3 | 0xf9, 0x2b, 0x2b, 0x2f, 0x94, 0xb2, 0xb2, 0xf9, 0x2b, 0x4b, 4 | 0x4b, 0x5b, 0x4b, 0x4b, 0x5f, 0xff, 0xff, 0xff, 0xff, 0xb2, 5 | 0xb2, 0xb4, 0xb7, 0xb2, 0xb4, 0xb5, 0xd2, 0xb2, 0xf9, 0x2b, 6 | 0x4b, 0x2f, 0x92, 0xff, 0xff, 0xe2, 0xb2, 0xff, 0x92, 0xb2, 7 | 0xb7, 0xb4, 0xb7, 0x5b, 0x4b, 0x5f, 0xff, 0xff, 0xff, 0xff, 8 | 0xb0, 0x0, 9 | 0x4c, 0x6b, 0x72, 0xc6, 0xb7, 0xe2, 0xfd, 0x2b, 0x5f, 0xd2, 10 | 0xb5, 0xff, 0x97, 0x4b, 0x5b, 0x74, 0xb5, 0xf9, 0x2f, 0xfe, 11 | 0x2f, 0xfe, 0x2f, 0xd2, 0xb7, 0xb4, 0xb2, 0xb7, 0xb4, 0xe7, 12 | 0x4b, 0x5b, 0x74, 0xb5, 0xf9, 0x2f, 0xfe, 0x2f, 0xfe, 0x2f, 13 | 0xd7, 0x7b, 0x77, 0x5b, 0x5f, 0x92, 0xff, 0xe2, 0xd2, 0xfe, 14 | 0x2d, 0x2d, 0x0, 15 | 0x3f, 0x5f, 0x2f, 0xf9, 0x7d, 0x7a, 0x73, 0xa7, 0x3a, 0x7b, 16 | 0x72, 0xb6, 0xe6, 0xb7, 0x2b, 0x77, 0x77, 0x5b, 0x72, 0xb7, 17 | 0x2b, 0x50, 0x0, 18 | 0x2f, 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 0x4b, 0x74, 0xc4, 0xb7, 19 | 0x4c, 0x4f, 0xfc, 0x4f, 0xfc, 0x4f, 0xfc, 0x4b, 0x74, 0xc2, 20 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc7, 0x2b, 0x77, 0xc1, 21 | 0xfc, 0x6c, 0x1f, 0xc6, 0xc1, 0xfc, 0x6f, 0x97, 0x7f, 0x97, 22 | 0x3f, 0xff, 0xe7, 0xff, 0x97, 0xfb, 0x0, 23 | 0x2b, 0x4b, 0x75, 0xb4, 0xb7, 0x5b, 0x4f, 0xe2, 0xb4, 0xfe, 24 | 0x2b, 0x4f, 0xff, 0xc7, 0xff, 0x97, 0xff, 0x97, 0xe4, 0xb7, 25 | 0x2f, 0xe2, 0xb4, 0xfe, 0x2b, 0x4f, 0xe2, 0xb4, 0xe4, 0xb4, 26 | 0xb2, 0xe4, 0xb4, 0xb2, 0xe4, 0xb4, 0xb2, 0xe4, 0xb7, 0x2e, 27 | 0x4b, 0x72, 0xfe, 0x72, 0xfe, 0x72, 0xfe, 0x4f, 0x97, 0x7d, 28 | 0x77, 0x3d, 0x30, 0x0, 29 | }; 30 | 31 | const gdl_Glyph_t CN_stayawakeBB_9_9_1_9Font24ptGlyphs[] PROGMEM = { 32 | {0x0, 0x6, 0x16, 0x16, 0x0, 0x0, 0x18}, 33 | {0x7ee7, 0x3e, 0x16, 0x16, 0x0, 0x0, 0x18}, 34 | {0x7eed, 0x35, 0x16, 0x16, 0x0, 0x0, 0x18}, 35 | {0x3f, 0x17, 0xc, 0x11, 0x0, 0x2, 0xe}, 36 | {0x20, 0x0, 0x0, 0x0, 0x0, 0x11, 0xa}, 37 | {0x662f, 0x2f, 0x16, 0x16, 0x0, 0x0, 0x18}, 38 | {0x7684, 0x36, 0x16, 0x16, 0x0, 0x0, 0x18}, 39 | {0} 40 | }; 41 | 42 | const gdl_Font_t CN_stayawakeBB_9_9_1_9Font24pt PROGMEM = { 43 | (uint8_t *)CN_stayawakeBB_9_9_1_9Font24ptBitmaps, 44 | (gdl_Glyph_t *)CN_stayawakeBB_9_9_1_9Font24ptGlyphs, 45 | 1, 0, 0x19, 46 | }; 47 | 48 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_stayawakeBB_9_9_1_9Font24pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_stayawakeBB_9_9_1_9Font24ptBitmaps[] PROGMEM = { 2 | 0x2b, 0x2d, 0x2b, 0x2b, 0x2b, 0x2d, 0x2b, 0x2b, 0x2b, 0x2f, 3 | 0xf9, 0x2b, 0x2b, 0x2f, 0x94, 0xb2, 0xb2, 0xf9, 0x2b, 0x4b, 4 | 0x4b, 0x5b, 0x4b, 0x4b, 0x5f, 0xff, 0xff, 0xff, 0xff, 0xb2, 5 | 0xb2, 0xb4, 0xb7, 0xb2, 0xb4, 0xb5, 0xd2, 0xb2, 0xf9, 0x2b, 6 | 0x4b, 0x2f, 0x92, 0xff, 0xff, 0xe2, 0xb2, 0xff, 0x92, 0xb2, 7 | 0xb7, 0xb4, 0xb7, 0x5b, 0x4b, 0x5f, 0xff, 0xff, 0xff, 0xff, 8 | 0xb0, 0x0, 9 | 0x4c, 0x6b, 0x72, 0xc6, 0xb7, 0xe2, 0xfd, 0x2b, 0x5f, 0xd2, 10 | 0xb5, 0xff, 0x97, 0x4b, 0x5b, 0x74, 0xb5, 0xf9, 0x2f, 0xfe, 11 | 0x2f, 0xfe, 0x2f, 0xd2, 0xb7, 0xb4, 0xb2, 0xb7, 0xb4, 0xe7, 12 | 0x4b, 0x5b, 0x74, 0xb5, 0xf9, 0x2f, 0xfe, 0x2f, 0xfe, 0x2f, 13 | 0xd7, 0x7b, 0x77, 0x5b, 0x5f, 0x92, 0xff, 0xe2, 0xd2, 0xfe, 14 | 0x2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x0, 0x0, 0x0, 0x11, 0xa}, 37 | {0x662f, 0x2f, 0x16, 0x16, 0x0, 0x0, 0x18}, 38 | {0x7684, 0x36, 0x16, 0x16, 0x0, 0x0, 0x18}, 39 | {0} 40 | }; 41 | 42 | const gdl_Font_t CN_stayawakeBB_9_9_1_9Font24pt PROGMEM = { 43 | (uint8_t *)CN_stayawakeBB_9_9_1_9Font24ptBitmaps, 44 | (gdl_Glyph_t *)CN_stayawakeBB_9_9_1_9Font24ptGlyphs, 45 | 1, 0, 0x19, 46 | }; 47 | 48 | -------------------------------------------------------------------------------- /src/DFRobot_Type.h: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file DFRobot_Type.h 3 | * @brief Define DFRobot_GDL type file 4 | * @n How to access ROM memory 5 | * @n How to control different main-controllers by controlling IO ports via register 6 | * 7 | * @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com) 8 | * @licence The MIT License (MIT) 9 | * @author [Arya](xue.peng@dfrobot.com) 10 | * @version V1.0 11 | * @date 2019-12-23 12 | * @https://github.com/DFRobot/DFRobot_GDL 13 | */ 14 | #ifndef __DFROBOT_TYPE_H 15 | #define __DFROBOT_TYPE_H 16 | 17 | #include 18 | #include 19 | #include 20 | #ifndef ARDUINO_SAM_ZERO 21 | #include "Interface/DFRobot_DMA.h" 22 | #endif 23 | 24 | /* Access to flash memory */ 25 | #ifndef pgm_read_byte 26 | #define pgm_read_byte(addr) (*(const unsigned char *)(addr)) 27 | #endif 28 | #ifndef pgm_read_word 29 | #define pgm_read_word(addr) (*(const unsigned short *)(addr)) 30 | #endif 31 | #ifndef pgm_read_dword 32 | #define pgm_read_dword(addr) (*(const unsigned long *)(addr)) 33 | #endif 34 | 35 | #define COLOR_RGB565_BLACK 0x0000 // black     36 | #define COLOR_RGB565_NAVY 0x000F // Navy blue   37 | #define COLOR_RGB565_DGREEN 0x03E0 // dark green   38 | #define COLOR_RGB565_DCYAN 0x03EF // Teal   39 | #define COLOR_RGB565_MAROON 0x7800 // Deep red       40 | #define COLOR_RGB565_PURPLE 0x780F // purple   41 | #define COLOR_RGB565_OLIVE 0x7BE0 // Olive green       42 | #define COLOR_RGB565_LGRAY 0xC618 // light-white 43 | #define COLOR_RGB565_DGRAY 0x7BEF // Dark gray       44 | #define COLOR_RGB565_BLUE 0x001F // blue     45 | #define COLOR_RGB565_GREEN 0x07E0 // green           46 | #define COLOR_RGB565_CYAN 0x07FF // cyan-blue   47 | #define COLOR_RGB565_RED 0xF800 // red        48 | #define COLOR_RGB565_MAGENTA 0xF81F // magenta     49 | #define COLOR_RGB565_YELLOW 0xFFE0 // yellow 50 | #define COLOR_RGB565_ORANGE 0xFD20 // Orange         51 | #define COLOR_RGB565_WHITE 0xFFFF // white   52 | #define COLOR_RGB565_PINK 0xFE19 //Pink 53 | #define COLOR_RGB565_SKYBLUE 0x867D //Sky blue 54 | #define SET_COLOR 1 55 | #define CLR_COLOR 0 56 | 57 | #endif 58 | -------------------------------------------------------------------------------- /src/graphic.h: -------------------------------------------------------------------------------- 1 | 2 | #define COLOR_SET_R(c, v) (c).ch.red = (uint8_t)(((uint8_t)(v)) & 0x1F) 3 | #define COLOR_SET_G(c, v) (c).ch.green = (uint8_t)((v) & 0x3F) 4 | #define COLOR_SET_B(c, v) (c).ch.blue = (uint8_t)((v) & 0x1F) 5 | #define COLOR_SET_A(c, v) do {} while(0) 6 | #ifndef _GRAPHIC_h 7 | #define _GRAPHIC_h 8 | #define COLOR_GET_R(c) (c).ch.red 9 | #define COLOR_GET_G(c) (c).ch.green 10 | #define COLOR_GET_B(c) (c).ch.blue 11 | #define COLOR_GET_A(c) 0xFF 12 | #define _swap_int16_t(a, b) { int16_t t = a; a = b; b = t; } 13 | #ifndef min 14 | #define min(a,b) (((a) < (b)) ? (a) : (b)) 15 | #endif 16 | #define CIRC_OCT1_X(p) (p.x) 17 | #define CIRC_OCT1_Y(p) (p.y) 18 | #define CIRC_OCT2_X(p) (p.y) 19 | #define CIRC_OCT2_Y(p) (p.x) 20 | 21 | typedef struct 22 | { 23 | int16_t x; 24 | int16_t y; 25 | } sPoint_t; 26 | 27 | typedef struct 28 | { 29 | int16_t x1; 30 | int16_t y1; 31 | int16_t x2; 32 | int16_t y2; 33 | } sUiarea_t; 34 | 35 | typedef union 36 | { 37 | struct 38 | { 39 | uint16_t blue : 5; 40 | uint16_t green : 6; 41 | uint16_t red : 5; 42 | } ch; 43 | uint16_t full; 44 | } sUicolor_t; 45 | 46 | static inline sUicolor_t colorMix(sUicolor_t c1, sUicolor_t c2, uint8_t mix) 47 | { 48 | sUicolor_t ret; 49 | /*LV_COLOR_DEPTH == 8, 16 or 32*/ 50 | COLOR_SET_R(ret, (uint16_t)((uint16_t) COLOR_GET_R(c1) * mix + COLOR_GET_R(c2) * (255 - mix)) >> 8); 51 | COLOR_SET_G(ret, (uint16_t)((uint16_t) COLOR_GET_G(c1) * mix + COLOR_GET_G(c2) * (255 - mix)) >> 8); 52 | COLOR_SET_B(ret, (uint16_t)((uint16_t) COLOR_GET_B(c1) * mix + COLOR_GET_B(c2) * (255 - mix)) >> 8); 53 | COLOR_SET_A(ret, 0xFF); 54 | return ret; 55 | 56 | } 57 | 58 | // void drawRect_mid(uint16_t x1,uint16_t x2,uint16_t y1,uint16_t y2){ 59 | 60 | 61 | // uint16_t posy = 0; 62 | // for(uint16_t row = y1+radius; row <= y2-radius; row++) { 63 | // posy = row ; 64 | // uint16_t mix = (uint32_t)((uint32_t)(y2 - posy) * 255) / (100); 65 | // act_color = lv_color_mix(mcolor, gcolor, mix); 66 | 67 | // tft.fillRect(x1,posy,x2-x1,1,act_color.full); 68 | 69 | // } 70 | // } 71 | 72 | 73 | #endif 74 | -------------------------------------------------------------------------------- /src/TouchDrivers/DFRobot_GT5688.h: -------------------------------------------------------------------------------- 1 | #ifndef __DFROBOT_GT5688_H 2 | #define __DFROBOT_GT5688_H 3 | 4 | // GT5688 configuration array table 5 | // Maximum x-coordinate output 0x0320 = 800 6 | // Maximum y-coordinate output 0x01E0 = 480 7 | // 0x8050 ~ 0x813B 236 registers 8 | // 0x813C 0x813D checksum 9 | // 0x813E configuration update flag 10 | // Array organization 11 | // 1. Register start address 0x8050 12 | // 2. Number of data 13 | // 0 register bit, 1 the bit of data stored in each register 16bit-reg 8bit-data 14 | // The first 5 data are control data: register bit, register value bit, start register, configuration data number 15 | static const uint8_t PROGMEM touchGt5688ConfigTable[] = { 16 | 2,// 1-> The register is 8 bits, the 2 register is 16 bits, the 4 register is 32 bits 0 17 | 1,// 1-> The register value is 8 bits, the 2 register value is 16 and the 4 register value is 32 1 18 | 0x80, 0x50,//Register start address 0x8050 2 3 19 | 0x00, 0xEF,//Number of configuration data total = 0x00EF 4 5 20 | 0x42,0x20,0x03,0xE0,0x01,0x05,0x3D,0x10,0x01,0x00, 21 | 0x08,0x08,0x50,0x3C,0x53,0x11,0x00,0x00,0x00,0x00, 22 | 0x14,0x14,0x14,0x22,0x08,0x04,0x00,0x00,0x00,0x00, 23 | 0x3C,0x00,0x53,0x00,0x14,0x00,0x00,0x84,0x00,0x00, 24 | 0x00,0x00,0x00,0x64,0x1E,0x1E,0x8A,0x2A,0x0C,0x3C, 25 | 0x3E,0xF4,0x0A,0x20,0x33,0x60,0x12,0x02,0x24,0x00, 26 | 0x00,0x32,0x64,0x00,0x14,0x02,0x00,0x00,0x54,0x80, 27 | 0x35,0x7F,0x3D,0x7F,0x46,0x7F,0x51,0x7F,0x5D,0x7F, 28 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0x50,0x3C, 29 | 0xBB,0xBB,0x07,0x00,0x00,0x00,0x02,0x0F,0x14,0x03, 30 | 0x04,0x10,0x42,0xF8,0x0F,0x00,0x00,0x00,0x00,0x00, 31 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 32 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 33 | 0x32,0x20,0x50,0x3C,0x3C,0x00,0x00,0x00,0x00,0x00, 34 | 0x0D,0x06,0x0C,0x05,0x0B,0x04,0x0A,0x03,0x09,0x02, 35 | 0x08,0x01,0xFF,0xFF,0x00,0x01,0x02,0x03,0x04,0x05, 36 | 0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, 37 | 0x10,0x11,0x12,0x13,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, 38 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 39 | 0x00,0x00,0x00,0x00,0x3C,0x00,0x05,0x1E,0x00,0x02, 40 | 0x2A,0x1E,0x19,0x14,0x02,0x00,0x03,0x0A,0x05,0x00, 41 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x04, 42 | 0x22,0x03,0x00,0x00,0x33,0x00,0x14,0x00,0x00,0x28, 43 | 0x46,0x32,0x50,0x00,0x00,0x00,0xF9,0xBD,0x01 44 | }; 45 | 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_loadingBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_loadingBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x77, 0xc7, 0xc7, 0x74, 0xc7, 0xc7, 0x74, 0xc7, 0xc4, 0xc6, 3 | 0xff, 0xfe, 0x6f, 0xff, 0xe6, 0xff, 0xfe, 0x6f, 0xff, 0xa3, 4 | 0xc3, 0xd6, 0xc7, 0x4c, 0x3d, 0x6c, 0x74, 0xc3, 0xd6, 0xc7, 5 | 0x4f, 0xff, 0xfa, 0x7f, 0xff, 0xd7, 0xff, 0xfd, 0x7f, 0xff, 6 | 0xd7, 0x3d, 0x6c, 0x77, 0x4d, 0x6c, 0x77, 0x4d, 0x6c, 0x74, 7 | 0xc3, 0xff, 0xfa, 0x3c, 0x3f, 0xff, 0xa3, 0xc3, 0xff, 0xfa, 8 | 0x3c, 0x3f, 0xff, 0xa3, 0xc3, 0xff, 0xfa, 0x3c, 0x3d, 0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26 | 0xa7, 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 0xff, 0xff, 0xff, 27 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc7, 0x7c, 0x77, 0x77, 28 | 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 29 | 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 30 | 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x10, 0x0, 31 | }; 32 | 33 | const gdl_Glyph_t CN_loadingBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 34 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 35 | {0x51c6, 0x64, 0x21, 0x20, 0x0, 0x0, 0x24}, 36 | {0x5907, 0x5a, 0x21, 0x20, 0x0, 0x0, 0x24}, 37 | {0x4e2d, 0x62, 0x21, 0x20, 0x0, 0x0, 0x24}, 38 | {0} 39 | }; 40 | 41 | const gdl_Font_t CN_loadingBB_9_9_1_9Font36pt PROGMEM = { 42 | (uint8_t *)CN_loadingBB_9_9_1_9Font36ptBitmaps, 43 | (gdl_Glyph_t *)CN_loadingBB_9_9_1_9Font36ptGlyphs, 44 | 1, 0, 0x24, 45 | }; 46 | 47 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_loadingBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_loadingBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x77, 0xc7, 0xc7, 0x74, 0xc7, 0xc7, 0x74, 0xc7, 0xc4, 0xc6, 3 | 0xff, 0xfe, 0x6f, 0xff, 0xe6, 0xff, 0xfe, 0x6f, 0xff, 0xa3, 4 | 0xc3, 0xd6, 0xc7, 0x4c, 0x3d, 0x6c, 0x74, 0xc3, 0xd6, 0xc7, 5 | 0x4f, 0xff, 0xfa, 0x7f, 0xff, 0xd7, 0xff, 0xfd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b, 0x73, 23 | 0xc7, 0x3f, 0xa7, 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 0xa7, 24 | 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 0xa7, 0x3c, 0x73, 0xfa, 25 | 0x73, 0xc7, 0x3f, 0xa7, 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 26 | 0xa7, 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 0xff, 0xff, 0xff, 27 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc7, 0x7c, 0x77, 0x77, 28 | 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 29 | 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 30 | 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x10, 0x0, 31 | }; 32 | 33 | const gdl_Glyph_t CN_loadingBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 34 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 35 | {0x51c6, 0x64, 0x21, 0x20, 0x0, 0x0, 0x24}, 36 | {0x5907, 0x5a, 0x21, 0x20, 0x0, 0x0, 0x24}, 37 | {0x4e2d, 0x62, 0x21, 0x20, 0x0, 0x0, 0x24}, 38 | {0} 39 | }; 40 | 41 | const gdl_Font_t CN_loadingBB_9_9_1_9Font36pt PROGMEM = { 42 | (uint8_t *)CN_loadingBB_9_9_1_9Font36ptBitmaps, 43 | (gdl_Glyph_t *)CN_loadingBB_9_9_1_9Font36ptGlyphs, 44 | 1, 0, 0x24, 45 | }; 46 | 47 | -------------------------------------------------------------------------------- /src/Drivers/DFRobot_SSD1306.h: -------------------------------------------------------------------------------- 1 | #ifndef __DFROBOT_SSD1306_H 2 | #define __DFROBOT_SSD1306_H 3 | 4 | #define SSD1306_INVOFF 0xA6 5 | #define SSD1306_INVON 0xA7 6 | #define SSD1306_REMAP 0xA0 7 | #define SSD1306_SCANDIR 0xC0 8 | #define SSD1306_COLSET 0x21 9 | #define SSD1306_PAGESET 0x22 10 | #define SSD1306_STARTCOL 0X00 11 | #define SSD1306_ENDCOL 127 12 | #define SSD1306_STARTPAGE 0X00 13 | #define SSD1306_ENDPAGE 0X07 14 | 15 | static const uint8_t PROGMEM DFRobot_SSD1306_initCmd[] = { 16 | //cmd delayFlag/argsNum argsValue Delay (over 255) Delay / 255 17 | /*0x01, 0xAE, 0, //display off 18 | 0x01, 0x20, 0,//Set Memory Addressing Mode 19 | 0x01, 0x10, 0,//00,Horizontal Addressing Mode;01,Vertical Addressing Mode;10,Page Addressing Mode (RESET);11,Invalid 20 | 0x01, 0xb0, 0,//Set Page Start Address for Page Addressing Mode,0-7 21 | 0x01, 0x00, 0,//---set low column address 22 | 0x01, 0x10, 0,//---set high column address 23 | 0x01, 0xc8, 0,//Set COM Output Scan Direction 24 | 0x01, 0x40, 0,//--set start line address 25 | 0x01, 0x81, 0,//--set contrast control register 26 | 0x01, 0x7f, 0, 27 | 0x01, 0xa1, 0,//--set segment re-map 0 to 127 28 | 0x01, 0xa6, 0,//--set normal display 29 | 0x01, 0xa8, 0,//--set multiplex ratio(1 to 64) 30 | 0x01, 0x3F, 0,// 31 | 0x01, 0xa4, 0,//0xa4,Output follows RAM content;0xa5,Output ignores RAM content 32 | 0x01, 0xd3, 0,//-set display offset 33 | 0x01, 0x00, 0,//-not offset 34 | 0x01, 0xd5, 0,//--set display clock divide ratio/oscillator frequency 35 | 0x01, 0xf0, 0,//--set divide ratio 36 | 0x01, 0xd9, 0,//--set pre-charge period 37 | 0x01, 0x22, 0, // 38 | 0x01, 0xda, 0,//--set com pins hardware configuration 39 | 0x01, 0x12, 0, 40 | 0x01, 0xdb, 0,//--set vcomh 41 | 0x01, 0x20, 0,//0x20,0.77xVcc 42 | 0x01, 0x8d, 0,//--set DC-DC enable 43 | 0x01, 0x14, 0,// 44 | 0x01, 0xaf, 0,//--turn on oled panel 45 | 0x00*/ 46 | 0x01, 0xae,0, 47 | 0x01, 0x8D,0, 48 | 0x01, 0x10,0, 49 | 0x01, 0x2E,0, 50 | 0x01, 0xD6,0, 51 | 0x01, 0x00,0, 52 | 0x01, 0xd5,0, 53 | 0x01, 0x80,0, 54 | 0x01, 0xa8,0, 55 | 0x01, 0x1f,0, 56 | 0x01, 0xd3,0, 57 | 0x01, 0x00,0, 58 | 0x01, 0x40,0, 59 | 0x01, 0x8d,0, 60 | 0x01, 0x14,0, 61 | 0x01, 0x20,0, 62 | 0x01, 0x00,0, 63 | 0x01, 0xa1,0, 64 | 0x01, 0xc8,0, 65 | 0x01, 0xda,0, 66 | 0x01, 0x02,0, 67 | 0x01, 0x81,0, 68 | 0x01, 0xcf,0, 69 | 0x01, 0xd9,0, 70 | 0x01, 0xf1,0, 71 | 0x01, 0xdb,0, 72 | 0x01, 0x40,0, 73 | 0x01, 0xa4,0, 74 | 0x01, 0xa6,0, 75 | 0x01, 0xaf,0, 76 | 0x00 77 | }; 78 | #endif -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_brandBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_brandBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x73, 0xfd, 0x77, 0x7f, 0xd7, 0x77, 0xfd, 0x77, 0x4f, 0xfd, 3 | 0x77, 0xc7, 0x3d, 0x77, 0xc7, 0x3d, 0x77, 0xc7, 0x3d, 0x73, 4 | 0xff, 0xfd, 0x7f, 0xff, 0xd7, 0xff, 0xfd, 0x4f, 0xff, 0xff, 5 | 0xa7, 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 0xa7, 0x3c, 0x73, 6 | 0xff, 0xff, 0xfb, 0x3f, 0xff, 0xd7, 0xff, 0xfd, 0x7f, 0xff, 7 | 0xd7, 0x74, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x71, 0xc7, 0x74, 8 | 0xd6, 0xc7, 0xc7, 0xd6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xff, 0x93, 27 | 0xff, 0x97, 0x74, 0xff, 0x97, 0x74, 0xff, 0x97, 0x74, 0xff, 28 | 0xff, 0xff, 0xff, 0xfb, 0x7c, 0x4f, 0xfc, 0x7c, 0x4f, 0xfc, 29 | 0x7c, 0x7d, 0x3c, 0x3c, 0x3c, 0x7d, 0x3c, 0x3c, 0x3c, 0x7d, 30 | 0x3c, 0x3c, 0x3c, 0x7d, 0x3c, 0x3f, 0xc7, 0xd3, 0xc6, 0xf9, 31 | 0x7d, 0x3c, 0x6f, 0x94, 0xf9, 0x3c, 0x6f, 0xfa, 0x7c, 0x76, 32 | 0xfa, 0x7c, 0x76, 0xfa, 0x7c, 0x76, 0xfa, 0x7f, 0xff, 0xd7, 33 | 0xff, 0xfd, 0x7f, 0xff, 0xd7, 0xff, 0xf9, 0x0, 34 | }; 35 | 36 | const gdl_Glyph_t CN_brandBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 37 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 38 | {0x91d1, 0x5e, 0x21, 0x20, 0x0, 0x0, 0x24}, 39 | {0x9886, 0x6f, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0x51a0, 0x62, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0} 42 | }; 43 | 44 | const gdl_Font_t CN_brandBB_9_9_1_9Font36pt PROGMEM = { 45 | (uint8_t *)CN_brandBB_9_9_1_9Font36ptBitmaps, 46 | (gdl_Glyph_t *)CN_brandBB_9_9_1_9Font36ptGlyphs, 47 | 1, 0, 0x24, 48 | }; 49 | 50 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_prokidoBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_prokidoBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x73, 0xfd, 0x77, 0x7f, 0xd7, 0x77, 0xfd, 0x77, 0x4f, 0xfd, 3 | 0x77, 0xc7, 0x3d, 0x77, 0xc7,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0xc7, 0xf9, 0x7c, 0x3c, 0x7f, 0xfd, 0x3f, 0x93, 0xd2, 0xf9, 22 | 0x74, 0xc3, 0xd2, 0xf9, 0x74, 0xc3, 0xd2, 0xf9, 0x74, 0xc0, 23 | 0x0, 24 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb, 25 | 0x77, 0x73, 0xfa, 0x77, 0x73, 0xfa, 0x77, 0x73, 0xff, 0xe7, 26 | 0x3f, 0xff, 0xa7, 0x3c, 0x4f, 0xf9, 0x73, 0xc4, 0xff, 0x93, 27 | 0xff, 0x97, 0x74, 0xff, 0x97, 0x74, 0xff, 0x97, 0x74, 0xff, 28 | 0xff, 0xff, 0xff, 0xfb, 0x7c, 0x4f, 0xfc, 0x7c, 0x4f, 0xfc, 29 | 0x7c, 0x7d, 0x3c, 0x3c, 0x3c, 0x7d, 0x3c, 0x3c, 0x3c, 0x7d, 30 | 0x3c, 0x3c, 0x3c, 0x7d, 0x3c, 0x3f, 0xc7, 0xd3, 0xc6, 0xf9, 31 | 0x7d, 0x3c, 0x6f, 0x94, 0xf9, 0x3c, 0x6f, 0xfa, 0x7c, 0x76, 32 | 0xfa, 0x7c, 0x76, 0xfa, 0x7c, 0x76, 0xfa, 0x7f, 0xff, 0xd7, 33 | 0xff, 0xfd, 0x7f, 0xff, 0xd7, 0xff, 0xf9, 0x0, 34 | }; 35 | 36 | const gdl_Glyph_t CN_prokidoBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 37 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 38 | {0x91d1, 0x5e, 0x21, 0x20, 0x0, 0x0, 0x24}, 39 | {0x9886, 0x6f, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0x51a0, 0x62, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0} 42 | }; 43 | 44 | const gdl_Font_t CN_prokidoBB_9_9_1_9Font36pt PROGMEM = { 45 | (uint8_t *)CN_prokidoBB_9_9_1_9Font36ptBitmaps, 46 | (gdl_Glyph_t *)CN_prokidoBB_9_9_1_9Font36ptGlyphs, 47 | 1, 0, 0x24, 48 | }; 49 | 50 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_brandBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_brandBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x73, 0xfd, 0x77, 0x7f, 0xd7, 0x77, 0xfd, 0x77, 0x4f, 0xfd, 3 | 0x77, 0xc7, 0x3d, 0x77, 0xc7, 0x3d, 0x77, 0xc7, 0x3d, 0x73, 4 | 0xff, 0xfd, 0x7f, 0xff, 0xd7, 0xff, 0xfd, 0x4f, 0xff, 0xff, 5 | 0xa7, 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 0xa7, 0x3c, 0x73, 6 | 0xff, 0xff, 0xfb, 0x3f, 0xff, 0xd7, 0xff, 0xfd, 0x7f, 0xff, 7 | 0xd7, 0x74, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x71, 0xc7, 0x74, 8 | 0xd6, 0xc7, 0xc7, 0xd6, 0xc7, 0xc7, 0xd6, 0xc7, 0xc7, 0xf9, 9 | 0x3c, 0x3f, 0x97, 0x4c, 0x3c, 0x3d, 0x77, 0xc3, 0xc3, 0xd7, 10 | 0x7c, 0x3c, 0x3d, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 11 | 0xff, 0xff, 0xfe, 0x0, 12 | 0x3f, 0x93, 0xff, 0xd3, 0xf9, 0x3f, 0xfd, 0x3f, 0x93, 0xff, 13 | 0xff, 0xa3, 0xff, 0xfa, 0x77, 0xc7, 0x4c, 0x77, 0xc7, 0x4c, 14 | 0x77, 0xc7, 0x4f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 15 | 0xff, 0xfe, 0x77, 0xc7, 0x4c, 0x77, 0xc7, 0x4c, 0x77, 0xc7, 16 | 0x4f, 0x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| 36 | const gdl_Glyph_t CN_brandBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 37 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 38 | {0x91d1, 0x5e, 0x21, 0x20, 0x0, 0x0, 0x24}, 39 | {0x9886, 0x6f, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0x51a0, 0x62, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0} 42 | }; 43 | 44 | const gdl_Font_t CN_brandBB_9_9_1_9Font36pt PROGMEM = { 45 | (uint8_t *)CN_brandBB_9_9_1_9Font36ptBitmaps, 46 | (gdl_Glyph_t *)CN_brandBB_9_9_1_9Font36ptGlyphs, 47 | 1, 0, 0x24, 48 | }; 49 | 50 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_uncertainBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_uncertainBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe7, 3 | 0x77, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x5f, 4 | 0x77, 0x75, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x4f, 0x97, 0x77, 5 | 0x4c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x71, 0xfc, 6 | 0x3c, 0x77, 0x1f, 0xc3, 0xc7, 0x71, 0xfc, 0x3c, 0x77, 0x1f, 7 | 0xc3, 0xc7, 0x1f, 0x96, 0xc7, 0xc4, 0xf9, 0x6c, 0x7c, 0x4f, 8 | 0x96, 0xc7, 0xc4, 0xf9, 0x6c, 0x7f, 0x97, 0x7c, 0x74, 0xc7, 9 | 0x7c, 0x74, 0xc7, 0x7c, 0x74, 0xc7, 0x7c, 0x77, 0x77, 0x1c, 10 | 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1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 0xf9, 0x74, 0xc3, 0xff, 0x97, 0x4c, 0x3f, 0xf9, 29 | 0x74, 0xc3, 0xff, 0x97, 0x4c, 0x3c, 0x77, 0x71, 0xc3, 0xc7, 30 | 0x77, 0x1c, 0x3c, 0x77, 0x71, 0xfc, 0x77, 0x71, 0xfc, 0x77, 31 | 0x71, 0xfc, 0x77, 0x1f, 0xff, 0xff, 0xe7, 0x3f, 0xff, 0xa7, 32 | 0x3f, 0xff, 0xa7, 0x3f, 0xf9, 0x0, 33 | }; 34 | 35 | const gdl_Glyph_t CN_uncertainBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 36 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 37 | {0x4e0d, 0x62, 0x21, 0x20, 0x0, 0x0, 0x24}, 38 | {0x786e, 0x6e, 0x21, 0x20, 0x0, 0x0, 0x24}, 39 | {0x5b9a, 0x60, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0} 41 | }; 42 | 43 | const gdl_Font_t CN_uncertainBB_9_9_1_9Font36pt PROGMEM = { 44 | (uint8_t *)CN_uncertainBB_9_9_1_9Font36ptBitmaps, 45 | (gdl_Glyph_t *)CN_uncertainBB_9_9_1_9Font36ptGlyphs, 46 | 1, 0, 0x24, 47 | }; 48 | 49 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_prokidoBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_prokidoBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x73, 0xfd, 0x77, 0x7f, 0xd7, 0x77, 0xfd, 0x77, 0x4f, 0xfd, 3 | 0x77, 0xc7, 0x3d, 0x77, 0xc7, 0x3d, 0x77, 0xc7, 0x3d, 0x73, 4 | 0xff, 0xfd, 0x7f, 0xff, 0xd7, 0xff, 0xfd, 0x4f, 0xff, 0xff, 5 | 0xa7, 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 0xa7, 0x3c, 0x73, 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xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb, 25 | 0x77, 0x73, 0xfa, 0x77, 0x73, 0xfa, 0x77, 0x73, 0xff, 0xe7, 26 | 0x3f, 0xff, 0xa7, 0x3c, 0x4f, 0xf9, 0x73, 0xc4, 0xff, 0x93, 27 | 0xff, 0x97, 0x74, 0xff, 0x97, 0x74, 0xff, 0x97, 0x74, 0xff, 28 | 0xff, 0xff, 0xff, 0xfb, 0x7c, 0x4f, 0xfc, 0x7c, 0x4f, 0xfc, 29 | 0x7c, 0x7d, 0x3c, 0x3c, 0x3c, 0x7d, 0x3c, 0x3c, 0x3c, 0x7d, 30 | 0x3c, 0x3c, 0x3c, 0x7d, 0x3c, 0x3f, 0xc7, 0xd3, 0xc6, 0xf9, 31 | 0x7d, 0x3c, 0x6f, 0x94, 0xf9, 0x3c, 0x6f, 0xfa, 0x7c, 0x76, 32 | 0xfa, 0x7c, 0x76, 0xfa, 0x7c, 0x76, 0xfa, 0x7f, 0xff, 0xd7, 33 | 0xff, 0xfd, 0x7f, 0xff, 0xd7, 0xff, 0xf9, 0x0, 34 | }; 35 | 36 | const gdl_Glyph_t CN_prokidoBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 37 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 38 | {0x91d1, 0x5e, 0x21, 0x20, 0x0, 0x0, 0x24}, 39 | {0x9886, 0x6f, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0x51a0, 0x62, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0} 42 | }; 43 | 44 | const gdl_Font_t CN_prokidoBB_9_9_1_9Font36pt PROGMEM = { 45 | (uint8_t *)CN_prokidoBB_9_9_1_9Font36ptBitmaps, 46 | (gdl_Glyph_t *)CN_prokidoBB_9_9_1_9Font36ptGlyphs, 47 | 1, 0, 0x24, 48 | }; 49 | 50 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_uncertainBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_uncertainBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe7, 3 | 0x77, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x5f, 4 | 0x77, 0x75, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x4f, 0x97, 0x77, 5 | 0x4c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x71, 0xfc, 6 | 0x3c, 0x77, 0x1f, 0xc3, 0xc7, 0x71, 0xfc, 0x3c, 0x77, 0x1f, 7 | 0xc3, 0xc7, 0x1f, 0x96, 0xc7, 0xc4, 0xf9, 0x6c, 0x7c, 0x4f, 8 | 0x96, 0xc7, 0xc4, 0xf9, 0x6c, 0x7f, 0x97, 0x7c, 0x74, 0xc7, 9 | 0x7c, 0x74, 0xc7, 0x7c, 0x74, 0xc7, 0x7c, 0x77, 0x77, 0x1c, 10 | 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 11 | 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x10, 0x0, 12 | 0xfc, 0x7f, 0xc4, 0xfc, 0x7f, 0xc4, 0xfc, 0x7f, 0xc4, 0xff, 13 | 0xff, 0x97, 0xc3, 0xf9, 0x7c, 0x7c, 0x3f, 0x97, 0xc7, 0xc3, 14 | 0xf9, 0x7c, 0x7c, 0x7f, 0xfd, 0x3c, 0x7f, 0xfd, 0x3c, 0x7f, 15 | 0xff, 0xd7, 0xff, 0xfa, 0x73, 0xc3, 0xc4, 0xf9, 0x73, 0xc3, 16 | 0xc4, 0xf9, 0x73, 0xc3, 0xc4, 0xff, 0x93, 0xff, 0xff, 0xa3, 17 | 0xff, 0xff, 0xa3, 0xff, 0xff, 0xa3, 0xff, 0xfa, 0x3c, 0x3c, 18 | 0x3c, 0x4f, 0x93, 0xc3, 0xc3, 0xc4, 0xf9, 0x3c, 0x3c, 0x3c, 19 | 0x4f, 0x93, 0xc3, 0xff, 0xfa, 0x3c, 0x3f, 0xff, 0xa3, 0xc3, 20 | 0xff, 0xfa, 0x3c, 0x3f, 0xff, 0xa3, 0xc3, 0xc7, 0x4f, 0x93, 21 | 0xc3, 0xc7, 0x4f, 0x93, 0xc3, 0xc7, 0x4f, 0xff, 0x97, 0xff, 22 | 0xfa, 0x73, 0xff, 0xfa, 0x73, 0xff, 0xfa, 0x73, 0xf9, 0x0, 23 | 0x77, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x71, 0xc7, 0x71, 0xff, 24 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb, 0x77, 25 | 0x74, 0xf9, 0x77, 0x74, 0xf9, 0x77, 0x74, 0xff, 0xff, 0xfa, 26 | 0x3f, 0xff, 0xd7, 0xff, 0xfd, 0x7f, 0xff, 0xd7, 0x74, 0xc7, 27 | 0x77, 0x71, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x71, 0xc7, 0x77, 28 | 0x1c, 0x3f, 0xf9, 0x74, 0xc3, 0xff, 0x97, 0x4c, 0x3f, 0xf9, 29 | 0x74, 0xc3, 0xff, 0x97, 0x4c, 0x3c, 0x77, 0x71, 0xc3, 0xc7, 30 | 0x77, 0x1c, 0x3c, 0x77, 0x71, 0xfc, 0x77, 0x71, 0xfc, 0x77, 31 | 0x71, 0xfc, 0x77, 0x1f, 0xff, 0xff, 0xe7, 0x3f, 0xff, 0xa7, 32 | 0x3f, 0xff, 0xa7, 0x3f, 0xf9, 0x0, 33 | }; 34 | 35 | const gdl_Glyph_t CN_uncertainBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 36 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 37 | {0x4e0d, 0x62, 0x21, 0x20, 0x0, 0x0, 0x24}, 38 | {0x786e, 0x6e, 0x21, 0x20, 0x0, 0x0, 0x24}, 39 | {0x5b9a, 0x60, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0} 41 | }; 42 | 43 | const gdl_Font_t CN_uncertainBB_9_9_1_9Font36pt PROGMEM = { 44 | (uint8_t *)CN_uncertainBB_9_9_1_9Font36ptBitmaps, 45 | (gdl_Glyph_t *)CN_uncertainBB_9_9_1_9Font36ptGlyphs, 46 | 1, 0, 0x24, 47 | }; 48 | 49 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_sickBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_sickBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x7c, 0x3f, 0xfd, 0x7c, 0x3f, 0xfd, 0x7c, 0x3f, 0xfd, 0x7c, 3 | 0x3f, 0xfd, 0x7c, 0x77, 0x4c, 0x7c, 0x77, 0x4c, 0x7c, 0x77, 4 | 0x4f, 0xfd, 0x73, 0xff, 0xfa, 0x73, 0xc4, 0xff, 0x97, 0x3c, 5 | 0x4f, 0xf9, 0x6f, 0x97, 0xc3, 0xd6, 0xc7, 0x4c, 0x3d, 0x6c, 6 | 0x74, 0xc3, 0xd6, 0xc7, 0x1f, 0x3f, 0xff, 0xe6, 0xff, 0xfe, 7 | 0x6f, 0xff, 0xe6, 0xff, 0xfa, 0x3f, 0x97, 0x3c, 0x74, 0xf9, 8 | 0x73, 0xc7, 0x4f, 0x97, 0x3c, 0x74, 0xf9, 0x73, 0xc7, 0x71, 9 | 0xc7, 0x3c, 0x77, 0x1c, 0x73, 0xc7, 0x71, 0xc7, 0x3c, 0x74, 10 | 0xfd, 0x6c, 0x74, 0xc3, 0xd6, 0xc7, 0x4c, 0x3d, 0x6c, 0x71, 11 | 0xf3, 0xd2, 0xf9, 0x71, 0xc7, 0x6f, 0x97, 0x1c, 0x76, 0xf9, 12 | 0x71, 0xc7, 0x6f, 0x97, 0x10, 0x0, 13 | 0x77, 0x4c, 0x3c, 0x77, 0x71, 0xc3, 0xc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, 0x77, 0x1c, 0x73, 31 | 0xc7, 0x71, 0xc7, 0x3c, 0x77, 0x1f, 0xfc, 0x77, 0x4f, 0xd7, 32 | 0x77, 0xfd, 0x74, 0xff, 0xff, 0xff, 0xa7, 0x3f, 0xff, 0xa7, 33 | 0x3f, 0xff, 0xa7, 0x3f, 0xd0, 0x0, 34 | }; 35 | 36 | const gdl_Glyph_t CN_sickBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 37 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 38 | {0x597d, 0x6a, 0x21, 0x20, 0x0, 0x0, 0x24}, 39 | {0x96be, 0x6d, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0x53d7, 0x60, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0} 42 | }; 43 | 44 | const gdl_Font_t CN_sickBB_9_9_1_9Font36pt PROGMEM = { 45 | (uint8_t *)CN_sickBB_9_9_1_9Font36ptBitmaps, 46 | (gdl_Glyph_t *)CN_sickBB_9_9_1_9Font36ptGlyphs, 47 | 1, 0, 0x24, 48 | }; 49 | 50 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_sickBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_sickBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x7c, 0x3f, 0xfd, 0x7c, 0x3f, 0xfd, 0x7c, 0x3f, 0xfd, 0x7c, 3 | 0x3f, 0xfd, 0x7c, 0x77, 0x4c, 0x7c, 0x77, 0x4c, 0x7c, 0x77, 4 | 0x4f, 0xfd, 0x73, 0xff, 0xfa, 0x73, 0xc4, 0xff, 0x97, 0x3c, 5 | 0x4f, 0xf9, 0x6f, 0x97, 0xc3, 0xd6, 0xc7, 0x4c, 0x3d, 0x6c, 6 | 0x74, 0xc3, 0xd6, 0xc7, 0x1f, 0x3f, 0xff, 0xe6, 0xff, 0xfe, 7 | 0x6f, 0xff, 0xe6, 0xff, 0xfa,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xff, 0xfd, 25 | 0x74, 0xc7, 0xc3, 0xc7, 0x4c, 0x7c, 0x3c, 0x74, 0xf9, 0x3f, 26 | 0xc7, 0x4f, 0x93, 0xfc, 0x77, 0xd6, 0xc7, 0x74, 0xd6, 0xc7, 27 | 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 28 | 0xb7, 0x77, 0x3f, 0xa7, 0x77, 0x3f, 0xa7, 0x77, 0x3f, 0xa7, 29 | 0x77, 0x3d, 0x3f, 0xff, 0x97, 0x4f, 0xff, 0x97, 0x4f, 0xff, 30 | 0x97, 0x4f, 0xff, 0x97, 0x71, 0xc7, 0x3c, 0x77, 0x1c, 0x73, 31 | 0xc7, 0x71, 0xc7, 0x3c, 0x77, 0x1f, 0xfc, 0x77, 0x4f, 0xd7, 32 | 0x77, 0xfd, 0x74, 0xff, 0xff, 0xff, 0xa7, 0x3f, 0xff, 0xa7, 33 | 0x3f, 0xff, 0xa7, 0x3f, 0xd0, 0x0, 34 | }; 35 | 36 | const gdl_Glyph_t CN_sickBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 37 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 38 | {0x597d, 0x6a, 0x21, 0x20, 0x0, 0x0, 0x24}, 39 | {0x96be, 0x6d, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0x53d7, 0x60, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0} 42 | }; 43 | 44 | const gdl_Font_t CN_sickBB_9_9_1_9Font36pt PROGMEM = { 45 | (uint8_t *)CN_sickBB_9_9_1_9Font36ptBitmaps, 46 | (gdl_Glyph_t *)CN_sickBB_9_9_1_9Font36ptGlyphs, 47 | 1, 0, 0x24, 48 | }; 49 | 50 | -------------------------------------------------------------------------------- /src/Interface/DFRobot_DMA.h: -------------------------------------------------------------------------------- 1 | #ifdef ARDUINO_SAM_ZERO 2 | #include 3 | #include 4 | #pragma once 5 | #define DF_DMA_NUM_CHANNELS 1//Define the channel number, the DMA channel of each board is different 6 | 7 | #define DMA_CHANNEL_NONE 0xFF //Define invalid channel number as 0xFF 8 | //Define data width 9 | #define DF_DMA_TRANSFER_WIDTH_BYTE 1 10 | #define DF_DMA_TRANSFER_WIDTH_HWORD 2 11 | #define DF_DMA_TRANSFER_WIDTH_WORD 4 12 | //Define data growth mode 13 | #define DF_DMA_SRCINC 0 14 | #define DF_DMA_DSTINC 1 15 | #define DF_DMA_BOTHINC 2 16 | #define DF_DMA_BOTHPAUSE 3 17 | 18 | //The transmission direction is always src-> dst 19 | 20 | class DFRobot_DMA{//A customized DMA, universal function 21 | public: 22 | DFRobot_DMA(); 23 | virtual ~DFRobot_DMA(){} 24 | void begin(); 25 | uint8_t allocateChannel();//Assign the channel and set the channel ID, if it returns 0xFF, it means the allocation failed 26 | void setIncMode(uint8_t channel, uint8_t mode);//Target address growth, SRC target address growth 27 | void setSrcAddr(uint8_t channel, void *src, uint16_t size = 0, bool inc = false);//Set the source address, and the address growth mode, false means no increase 28 | void setDstAddr(uint8_t channel, void *dst, uint16_t size = 0, bool inc = false);//Set the target address and address growth mode, false means no increase 29 | void setRoundTransMode(bool flag = false);//Whether set to cyclic transmission mode, false: acyclic transmission mode, true:cyclic transmission mode 30 | void setDataTransWidthAndSize(uint8_t channel, uint16_t size, uint8_t width);//Set the total data transfer volume and the number of bytes per transfer (byte, halfword, word) 31 | void setPorityLevel(uint8_t channel, uint8_t level); 32 | void setTriggerSource(uint8_t channel, int source); 33 | void start(uint8_t channel);//Start transferring 34 | void end(); 35 | 36 | 37 | static int _beginCount; 38 | uint32_t _channelMask; 39 | DmacDescriptor _descriptors[DF_DMA_NUM_CHANNELS] __attribute__ ((aligned (16))); 40 | DmacDescriptor _descriptorsWriteBack[DF_DMA_NUM_CHANNELS] __attribute__ ((aligned (16))); 41 | }; 42 | 43 | extern DFRobot_DMA DMA1; 44 | 45 | class DFRobot_DMA_SPI: public DFRobot_DMA{ 46 | public: 47 | SPIClass *_spi; 48 | DFRobot_DMA_SPI():_channel(0){} 49 | void begin(); 50 | void transfer(void *src, uint16_t size); 51 | bool checkFlag(); 52 | /// int transfer 53 | private: 54 | uint8_t _channel; 55 | }; 56 | extern DFRobot_DMA_SPI DMASPI; 57 | #endif 58 | -------------------------------------------------------------------------------- /examples/Touch_ILI9488_320x480/UI_keyPad/UI_keyPad.ino: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file UI_keypad.ino 3 | * @brief Create a numeric keyboard control on the screen 4 | * @n Users can click number on the keyboard and then the output will be displayed in the text box. 5 | * @n Click the text box to move the cursor into it when we need a text box to display. 6 | * @n The demo supports Mega2560, FireBeetle-ESP32, FireBeetle-ESP8266, and FireBeetle-M0. 7 | * 8 | * @copyright Copyright (c) 2010 DFRobot Co. Ltd (http://www.dfrobot.com) 9 | * @license The MIT License (MIT) 10 | * @author [fengli] (li.feng@dfrobot.com) 11 | * @version V1.0 12 | * @date 2019-12-6 13 | * @get from https://www.dfrobot.com 14 | * @url https://github.com/DFRobot/DFRobot_GDL/src/DFRpbot_UI 15 | */ 16 | 17 | #include "DFRobot_UI.h" 18 | #include "Arduino.h" 19 | #include "DFRobot_GDL.h" 20 | #include "DFRobot_Touch.h" 21 | /*M0*/ 22 | #if defined ARDUINO_SAM_ZERO 23 | #define TFT_DC 7 24 | #define TFT_CS 5 25 | #define TFT_RST 6 26 | /*ESP32 and ESP8266*/ 27 | #elif defined(ESP32) || defined(ESP8266) 28 | #define TFT_DC D2 29 | #define TFT_CS D6 30 | #define TFT_RST D3 31 | /* AVR series mainboard */ 32 | #else 33 | #define TFT_DC 2 34 | #define TFT_CS 3 35 | #define TFT_RST 4 36 | #endif 37 | 38 | /** 39 | @brief Constructor When the touch uses the gt series chip, you can call this constructor 40 | */ 41 | DFRobot_Touch_GT911 touch; 42 | 43 | /** 44 | @brief Constructor When the screen uses hardware SPI communication, the driver IC is ILI9488, and the screen resolution is 320x480, this constructor can be called 45 | @param dc Command/data line pin for SPI communication 46 | @param cs Chip select pin for SPI communication 47 | @param rst Reset pin of the screen 48 | */ 49 | DFRobot_ILI9488_320x480_HW_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST); 50 | /* M0 mainboard DMA transfer */ 51 | //DFRobot_ILI9488_320x480_DMA_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST); 52 | 53 | 54 | /** 55 | @brief Constructor 56 | @param gdl Screen object 57 | @param touch Touch object 58 | */ 59 | DFRobot_UI ui(&screen, &touch); 60 | 61 | 62 | 63 | void setup() 64 | { 65 | 66 | Serial.begin(9600); 67 | 68 | ui.begin(); 69 | // Set the UI theme, there are two themes to choose from: CLASSIC and MODERN. 70 | ui.setTheme(DFRobot_UI::CLASSIC); 71 | 72 | //Create a numeric keypad 73 | DFRobot_UI::sObject_t &kp = ui.creatKeyPad(); 74 | ui.draw(&kp); 75 | } 76 | 77 | void loop() 78 | { 79 | // refresh 80 | ui.refresh(); 81 | } 82 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_recording_failedBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_recording_failedBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0xc7, 0x3f, 0xf9, 0x4c, 0x73, 0xff, 0x94, 0xc7, 0x3f, 0xf9, 3 | 0x4f, 0x96, 0xff, 0x97, 0xd6, 0xc7, 0xc7, 0xd6, 0xc7, 0xc7, 4 | 0xd6, 0xc7, 0xc7, 0x74, 0xc7, 0xc7, 0x74, 0xc7, 0xc7, 0x74, 5 | 0xc7, 0xc4, 0xc7, 0xf7, 0xfd, 0x7c, 0x73, 0xfd, 0x7c, 0x73, 6 | 0xfd, 0x7c, 0x73, 0xf9, 0x3d, 0x77, 0x77, 0xd7, 0x77, 0x7d, 7 | 0x77, 0x77, 0xd7, 0x77, 0x77, 0x1f, 0xfc, 0x77, 0x1f, 0xfc, 8 | 0x77, 0x1f, 0xfc, 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xff, 0x93, 26 | 0xd3, 0xff, 0xf9, 0x77, 0x7d, 0x77, 0x77, 0xd7, 0x77, 0x7d, 27 | 0x7c, 0x73, 0xff, 0xfa, 0x73, 0xff, 0xfa, 0x73, 0xff, 0xfa, 28 | 0x73, 0xff, 0xd3, 0xd7, 0x6d, 0x73, 0xd7, 0x6d, 0x73, 0xd7, 29 | 0x6d, 0x73, 0xd7, 0x6d, 0x77, 0x4f, 0xff, 0x97, 0x4f, 0xff, 30 | 0x97, 0x4f, 0xff, 0x97, 0x4f, 0xff, 0x97, 0x7d, 0x73, 0xc7, 31 | 0x7d, 0x73, 0xc7, 0x7d, 0x73, 0xc3, 0xd6, 0xff, 0xd3, 0xd6, 32 | 0xff, 0xd3, 0xd6, 0xff, 0xfe, 0x6f, 0xff, 0xa7, 0x3d, 0x73, 33 | 0xf9, 0x73, 0xd7, 0x3f, 0x97, 0x3d, 0x73, 0xc0, 0x0, 34 | }; 35 | 36 | const gdl_Glyph_t CN_recording_failedBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 37 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 38 | {0x6ca1, 0x61, 0x21, 0x20, 0x0, 0x0, 0x24}, 39 | {0x542c, 0x72, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0x6e05, 0x63, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0} 42 | }; 43 | 44 | const gdl_Font_t CN_recording_failedBB_9_9_1_9Font36pt PROGMEM = { 45 | (uint8_t *)CN_recording_failedBB_9_9_1_9Font36ptBitmaps, 46 | (gdl_Glyph_t *)CN_recording_failedBB_9_9_1_9Font36ptGlyphs, 47 | 1, 0, 0x24, 48 | }; 49 | 50 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_listeningBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_listeningBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x3f, 0xff, 0xfa, 0x3f, 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0, 0x24}, 40 | {0x5fc3, 0x63, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0x542c, 0x72, 0x21, 0x20, 0x0, 0x0, 0x24}, 42 | {0} 43 | }; 44 | 45 | const gdl_Font_t CN_listeningBB_9_9_1_9Font36pt PROGMEM = { 46 | (uint8_t *)CN_listeningBB_9_9_1_9Font36ptBitmaps, 47 | (gdl_Glyph_t *)CN_listeningBB_9_9_1_9Font36ptGlyphs, 48 | 1, 0, 0x24, 49 | }; 50 | 51 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_recording_failedBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_recording_failedBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0xc7, 0x3f, 0xf9, 0x4c, 0x73, 0xff, 0x94, 0xc7, 0x3f, 0xf9, 3 | 0x4f, 0x96, 0xff, 0x97, 0xd6, 0xc7, 0xc7, 0xd6, 0xc7, 0xc7, 4 | 0xd6, 0xc7, 0xc7, 0x74, 0xc7, 0xc7, 0x74, 0xc7, 0xc7, 0x74, 5 | 0xc7, 0xc4, 0xc7, 0xf7, 0xfd, 0x7c, 0x73, 0xfd, 0x7c, 0x73, 6 | 0xfd, 0x7c, 0x73, 0xf9, 0x3d, 0x77, 0x77, 0xd7, 0x77, 0x7d, 7 | 0x77, 0x77, 0xd7, 0x77, 0x77, 0x1f, 0xfc, 0x77, 0x1f, 0xfc, 8 | 0x77, 0x1f, 0xfc, 0x77, 0x1f, 0xfc, 0x77, 0x4c, 0x7c, 0x77, 9 | 0x4c, 0x7c, 0x77, 0x4c, 0x7c, 0x7d, 0x6f, 0xf9, 0x7d, 0x73, 10 | 0xf9, 0x73, 0xd7, 0x3f, 0x97, 0xf9, 0x3f, 0xff, 0xd7, 0xf7, 11 | 0xfd, 0x7f, 0x7f, 0xd7, 0xf7, 0xf9, 0x0, 12 | 0x77, 0x74, 0xf9, 0x77, 0x74, 0xf9, 0x77, 0x74, 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 0x4f, 0xff, 0x97, 0x4f, 0xff, 0x97, 0x7d, 0x73, 0xc7, 31 | 0x7d, 0x73, 0xc7, 0x7d, 0x73, 0xc3, 0xd6, 0xff, 0xd3, 0xd6, 32 | 0xff, 0xd3, 0xd6, 0xff, 0xfe, 0x6f, 0xff, 0xa7, 0x3d, 0x73, 33 | 0xf9, 0x73, 0xd7, 0x3f, 0x97, 0x3d, 0x73, 0xc0, 0x0, 34 | }; 35 | 36 | const gdl_Glyph_t CN_recording_failedBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 37 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 38 | {0x6ca1, 0x61, 0x21, 0x20, 0x0, 0x0, 0x24}, 39 | {0x542c, 0x72, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0x6e05, 0x63, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0} 42 | }; 43 | 44 | const gdl_Font_t CN_recording_failedBB_9_9_1_9Font36pt PROGMEM = { 45 | (uint8_t *)CN_recording_failedBB_9_9_1_9Font36ptBitmaps, 46 | (gdl_Glyph_t *)CN_recording_failedBB_9_9_1_9Font36ptGlyphs, 47 | 1, 0, 0x24, 48 | }; 49 | 50 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_listeningBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_listeningBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x3f, 0xff, 0xfa, 0x3f, 0xff, 0xfa, 0x3f, 0xff, 0xfa, 0x3f, 3 | 0xff, 0xfa, 0x3d, 0x6c, 0x74, 0xc3, 0xd6, 0xc7, 0x4c, 0x3d, 4 | 0x6c, 0x74, 0xc3, 0xff, 0xff, 0xa3, 0xff, 0xff, 0xa3, 0xff, 5 | 0xff, 0xa3, 0xff, 0xff, 0xa3, 0xd6, 0xc7, 0x4c, 0x3d, 0x6c, 6 | 0x74, 0xc3, 0xd6, 0xc7, 0x4c, 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ff, 0xff, 0xa3, 0xfd, 0x7f, 0xc3, 0xfd, 0x7f, 0xc3, 0xfd, 25 | 0x7c, 0x3c, 0x3c, 0x77, 0x1c, 0x3c, 0x3c, 0x77, 0x1c, 0x3c, 26 | 0x3c, 0x77, 0x1c, 0x3c, 0x3f, 0xff, 0xa3, 0xc3, 0xff, 0xfa, 27 | 0x3c, 0x3f, 0xff, 0xa3, 0xc3, 0xff, 0xfa, 0x3c, 0x3c, 0x7c, 28 | 0x4c, 0x3c, 0x3c, 0x7c, 0x4c, 0x3c, 0x3c, 0x7c, 0x4c, 0x3c, 29 | 0x3c, 0x7c, 0x4c, 0x3c, 0x3c, 0x7c, 0x4c, 0x3c, 0x3c, 0x7c, 30 | 0x4c, 0x3c, 0x3c, 0x7c, 0x4c, 0x3c, 0x3c, 0x7c, 0x4c, 0x3c, 31 | 0x3c, 0x7c, 0x4c, 0x3c, 0x3c, 0x7c, 0x4c, 0x3f, 0xc7, 0xc4, 32 | 0xff, 0x97, 0x3c, 0x4f, 0xf9, 0x73, 0xc4, 0xff, 0x97, 0x3c, 33 | 0x4f, 0xf9, 0x73, 0xc7, 0x7d, 0x73, 0xc7, 0x7d, 0x73, 0xc7, 34 | 0x7d, 0x73, 0xc4, 0x0, 35 | }; 36 | 37 | const gdl_Glyph_t CN_listeningBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 38 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 39 | {0x7528, 0x69, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0x5fc3, 0x63, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0x542c, 0x72, 0x21, 0x20, 0x0, 0x0, 0x24}, 42 | {0} 43 | }; 44 | 45 | const gdl_Font_t CN_listeningBB_9_9_1_9Font36pt PROGMEM = { 46 | (uint8_t *)CN_listeningBB_9_9_1_9Font36ptBitmaps, 47 | (gdl_Glyph_t *)CN_listeningBB_9_9_1_9Font36ptGlyphs, 48 | 1, 0, 0x24, 49 | }; 50 | 51 | -------------------------------------------------------------------------------- /examples/ST7735_80x160/UI_coord/UI_coord.ino: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file UI_coord.ino 3 | * @brief Coordinate system control, users can customize the coordinate data in the coordinate system to draw polyline graph 4 | * @n The demo supports, Mega2560, FireBeetle-ESP32, FireBeetle-ESP8266, FireBeetle-M0 5 | * @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com) 6 | * @license The MIT License (MIT) 7 | * @author [fengli](li.feng@dfrobot.com) 8 | * @version V0.1 9 | * @date 2021-04-13 10 | * @get from https://www.dfrobot.com 11 | * @url https://github.com/DFRobot/DFRobot_GDL/src/DFRpbot_UI 12 | */ 13 | 14 | 15 | 16 | #include "DFRobot_UI.h" 17 | #include "Arduino.h" 18 | #include "DFRobot_GDL.h" 19 | #include "DFRobot_Touch.h" 20 | /*M0*/ 21 | #if defined ARDUINO_SAM_ZERO 22 | #define TFT_DC 7 23 | #define TFT_CS 5 24 | #define TFT_RST 6 25 | /*ESP32 and ESP8266*/ 26 | #elif defined(ESP32) || defined(ESP8266) 27 | #define TFT_DC D2 28 | #define TFT_CS D6 29 | #define TFT_RST D3 30 | /*AVR series*/ 31 | #else 32 | #define TFT_DC 2 33 | #define TFT_CS 3 34 | #define TFT_RST 4 35 | #endif 36 | /** 37 | * @brief Constructor Constructor of hardware SPI communication 38 | * @param dc Command/data line pin for SPI communication 39 | * @param cs Chip select pin for SPI communication 40 | * @param rst reset pin of the screen 41 | */ 42 | DFRobot_ST7735_80x160_HW_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST); 43 | /* M0 mainboard DMA transfer */ 44 | //DFRobot_ST7735_80x160_DMA_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST); 45 | /* 46 | *User-selectable macro definition color 47 | *COLOR_RGB565_BLACK COLOR_RGB565_NAVY COLOR_RGB565_DGREEN COLOR_RGB565_DCYAN  48 | *COLOR_RGB565_MAROON COLOR_RGB565_PURPLE COLOR_RGB565_OLIVE COLOR_RGB565_LGRAY 49 | *COLOR_RGB565_DGRAY COLOR_RGB565_BLUE COLOR_RGB565_GREEN COLOR_RGB565_CYAN   50 | *COLOR_RGB565_RED COLOR_RGB565_MAGENTA COLOR_RGB565_YELLOW COLOR_RGB565_ORANGE         51 | *COLOR_RGB565_WHITE 52 | */ 53 | 54 | /** 55 | @brief Constructor 56 | @param gdl Screen object 57 | @param touch Touch object 58 | */ 59 | DFRobot_UI ui(&screen, NULL); 60 | 61 | int16_t point3[15][2] ={{0,0},{10,5},{15,15},{20,20},{63,25},{70,30},{80,40},{100,50},{110,40},{112,30},{150,20}}; 62 | void setup() 63 | { 64 | 65 | Serial.begin(9600); 66 | //Initialize UI 67 | ui.begin(); 68 | //Create a coordinate 69 | DFRobot_UI::sCoordinate_t &coord = ui.creatCoordinate(); 70 | 71 | coord.setPoint(point3,11,COLOR_RGB565_RED); 72 | ui.draw(&coord); 73 | 74 | } 75 | 76 | 77 | void loop() 78 | { 79 | //Refresh 80 | ui.refresh(); 81 | } -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_discomfortBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_discomfortBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe7, 3 | 0x77, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x5f, 4 | 0x77, 0x75, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x4f, 0x97, 0x77, 5 | 0x4c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x71, 0xfc, 6 | 0x3c, 0x77, 0x1f, 0xc3, 0xc7, 0x71, 0xfc, 0x3c, 0x77, 0x1f, 7 | 0xc3, 0xc7, 0x1f, 0x96, 0xc7, 0xc4, 0xf9, 0x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, 0xfa, 0x3c, 0x73, 0xff, 0xa3, 0xc7, 26 | 0x71, 0xfc, 0x3c, 0x77, 0x1f, 0xc3, 0xff, 0xfa, 0x3c, 0x3f, 27 | 0xff, 0xa3, 0xc3, 0xff, 0xfa, 0x3c, 0x3f, 0xff, 0xa3, 0xc3, 28 | 0xc7, 0x3f, 0xa3, 0xc3, 0xc7, 0x3f, 0xa3, 0xc3, 0xc7, 0x3f, 29 | 0xa3, 0xc3, 0xc7, 0x3f, 0xfd, 0x3d, 0x6f, 0xfd, 0x3d, 0x6f, 30 | 0xfd, 0x3d, 0x6f, 0xfd, 0x3d, 0x3f, 0xd3, 0xc6, 0xd3, 0xc4, 31 | 0xc3, 0xc6, 0xd3, 0xc4, 0xc3, 0xc6, 0xd3, 0xc4, 0xc3, 0xc7, 32 | 0x3f, 0x94, 0xc3, 0xc7, 0x3f, 0x94, 0xc3, 0xc7, 0x3f, 0x94, 33 | 0xc3, 0xc3, 0xff, 0xfa, 0x3c, 0x3f, 0x96, 0xfa, 0x3c, 0x3f, 34 | 0x96, 0xfa, 0x3c, 0x3f, 0x96, 0xd0, 0x0, 35 | }; 36 | 37 | const gdl_Glyph_t CN_discomfortBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 38 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 39 | {0x4e0d, 0x62, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0x8212, 0x69, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0x670d, 0x75, 0x21, 0x20, 0x0, 0x0, 0x24}, 42 | {0} 43 | }; 44 | 45 | const gdl_Font_t CN_discomfortBB_9_9_1_9Font36pt PROGMEM = { 46 | (uint8_t *)CN_discomfortBB_9_9_1_9Font36ptBitmaps, 47 | (gdl_Glyph_t *)CN_discomfortBB_9_9_1_9Font36ptGlyphs, 48 | 1, 0, 0x24, 49 | }; 50 | 51 | -------------------------------------------------------------------------------- /examples/Touch_ST7789_240x204/UI_coord/UI_coord.ino: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file UI_coord.ino 3 | * @brief Coordinate system control, users can customize the coordinate data in the coordinate system to draw polyline graph 4 | * @n The demo supports Arduino Uno, Mega2560, FireBeetle-ESP32, FireBeetle-ESP8266, FireBeetle-M0 5 | * @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com) 6 | * @license The MIT License (MIT) 7 | * @author [fengli](li.feng@dfrobot.com) 8 | * @maintainer [Fary] (feng.yang@dfrobot.com) 9 | * @version V1.0 10 | * @date 2021-10-19 11 | * @get from https://www.dfrobot.com 12 | * @url https://github.com/DFRobot/DFRobot_GDL 13 | */ 14 | 15 | 16 | #include "DFRobot_UI.h" 17 | #include "Arduino.h" 18 | #include "DFRobot_GDL.h" 19 | #include "DFRobot_Touch.h" 20 | /*M0*/ 21 | #if defined ARDUINO_SAM_ZERO 22 | #define TFT_DC 7 23 | #define TFT_CS 5 24 | #define TFT_RST 6 25 | #define TFT_BL 9 26 | /*ESP32 and ESP8266*/ 27 | #elif defined(ESP32) || defined(ESP8266) 28 | #define TFT_DC D2 29 | #define TFT_CS D6 30 | #define TFT_RST D3 31 | #define TFT_BL D13 32 | /* AVR series mainboard */ 33 | #else 34 | #define TFT_DC 2 35 | #define TFT_CS 3 36 | #define TFT_RST 4 37 | #define TFT_BL 5 38 | #endif 39 | 40 | /** 41 | @brief Constructor When the touch uses the gt series chip, you can call this constructor 42 | */ 43 | 44 | DFRobot_Touch_FT3267 touch; 45 | 46 | /** 47 | @brief Constructor When the screen uses hardware SPI communication, the driver IC is st7789, and the screen resolution is 240x204, this constructor can be called 48 | @param dc Command/data line pin for SPI communication 49 | @param cs Chip select pin for SPI communication 50 | @param rst Reset pin of the screen 51 | */ 52 | DFRobot_ST7789_240x204_HW_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST,/*bl=*/TFT_BL); 53 | /* M0 mainboard DMA transfer */ 54 | //DFRobot_ST7789_240x204_DMA_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST,/*bl=*/TFT_BL); 55 | 56 | 57 | /** 58 | @brief Constructor 59 | @param gdl Screen object 60 | @param touch Touch object 61 | */ 62 | DFRobot_UI ui(&screen, NULL); 63 | 64 | int16_t point3[15][2] ={{0,50},{10,55},{15,65},{20,70},{63,75},{70,80},{80,90},{100,100},{110,110},{112,112},{150,120},{210,130},{230,130},{240,150},{300,190}}; 65 | void setup() 66 | { 67 | 68 | Serial.begin(9600); 69 | //Initialize UI 70 | ui.begin(); 71 | 72 | 73 | //Create a coordinate 74 | DFRobot_UI::sCoordinate_t &coord = ui.creatCoordinate(); 75 | coord.setPoint(point3,15,COLOR_RGB565_RED); 76 | ui.draw(&coord); 77 | 78 | } 79 | 80 | 81 | void loop() 82 | { 83 | //Refresh 84 | ui.refresh(); 85 | } -------------------------------------------------------------------------------- /examples/Touch_ST7789_240x204/UI_keyPad/UI_keyPad.ino: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file UI_keypad.ino 3 | * @brief Create a numeric keyboard control on the screen 4 | * @n Users can click number on the keyboard and then the output will be displayed in the text box. 5 | * @n Click the text box to move the cursor into it when we need a text box to display. 6 | * @n The demo supports Mega2560, FireBeetle-ESP32, FireBeetle-ESP8266, and FireBeetle-M0. 7 | * 8 | * @copyright Copyright (c) 2010 DFRobot Co. Ltd (http://www.dfrobot.com) 9 | * @license The MIT License (MIT) 10 | * @author [fengli] (li.feng@dfrobot.com) 11 | * @maintainer [Fary] (feng.yang@dfrobot.com) 12 | * @version V1.0 13 | * @date 2021-10-19 14 | * @get from https://www.dfrobot.com 15 | * @url https://github.com/DFRobot/DFRobot_GDL 16 | */ 17 | 18 | #include "DFRobot_UI.h" 19 | #include "Arduino.h" 20 | #include "DFRobot_GDL.h" 21 | #include "DFRobot_Touch.h" 22 | #if defined ARDUINO_SAM_ZERO 23 | #define TFT_DC 7 24 | #define TFT_CS 5 25 | #define TFT_RST 6 26 | #define TFT_BL 9 27 | /*ESP32 and ESP8266*/ 28 | #elif defined(ESP32) || defined(ESP8266) 29 | #define TFT_DC D2 30 | #define TFT_CS D6 31 | #define TFT_RST D3 32 | #define TFT_BL D13 33 | /* AVR series mainboard */ 34 | #else 35 | #define TFT_DC 2 36 | #define TFT_CS 3 37 | #define TFT_RST 4 38 | #define TFT_BL 5 39 | #endif 40 | 41 | /** 42 | @brief Constructor When the touch uses the gt series chip, you can call this constructor 43 | */ 44 | 45 | DFRobot_Touch_FT3267 touch; 46 | 47 | /** 48 | @brief Constructor When the screen uses hardware SPI communication, the driver IC is st7789, and the screen resolution is 240x204, this constructor can be called 49 | @param dc Command/data line pin for SPI communication 50 | @param cs Chip select pin for SPI communication 51 | @param rst Reset pin of the screen 52 | */ 53 | DFRobot_ST7789_240x204_HW_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST,/*bl=*/TFT_BL); 54 | /* M0 mainboard DMA transfer */ 55 | //DFRobot_ST7789_240x204_DMA_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST,/*bl=*/TFT_BL); 56 | 57 | 58 | /** 59 | @brief Constructor 60 | @param gdl Screen object 61 | @param touch Touch object 62 | */ 63 | DFRobot_UI ui(&screen, &touch); 64 | 65 | 66 | 67 | 68 | void setup() 69 | { 70 | 71 | Serial.begin(9600); 72 | 73 | ui.begin(); 74 | // Set the UI theme, there are two themes to choose from: CLASSIC and MODERN. 75 | ui.setTheme(DFRobot_UI::CLASSIC); 76 | 77 | //Create a numeric keypad 78 | DFRobot_UI::sObject_t &kp = ui.creatKeyPad(); 79 | ui.draw(&kp); 80 | } 81 | 82 | void loop() 83 | { 84 | // refresh 85 | ui.refresh(); 86 | } 87 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_discomfortBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_discomfortBB_9_9_1_9Font36ptBitmaps[] PROGMEM =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0x4e0d, 0x62, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0x8212, 0x69, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0x670d, 0x75, 0x21, 0x20, 0x0, 0x0, 0x24}, 42 | {0} 43 | }; 44 | 45 | const gdl_Font_t CN_discomfortBB_9_9_1_9Font36pt PROGMEM = { 46 | (uint8_t *)CN_discomfortBB_9_9_1_9Font36ptBitmaps, 47 | (gdl_Glyph_t *)CN_discomfortBB_9_9_1_9Font36ptGlyphs, 48 | 1, 0, 0x24, 49 | }; 50 | 51 | -------------------------------------------------------------------------------- /examples/Touch_ILI9488_320x480/UI_coord/UI_coord.ino: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file UI_coord.ino 3 | * @brief Coordinate system control, users can customize the coordinate data in the coordinate system to draw polyline graph 4 | * @n The demo supports Mega2560, FireBeetle-ESP32, FireBeetle-ESP8266, FireBeetle-M0 5 | * @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com) 6 | * @license The MIT License (MIT) 7 | * @author [fengli](li.feng@dfrobot.com) 8 | * @version V1.0 9 | * @date 2019-12-6 10 | * @get from https://www.dfrobot.com 11 | * @url https://github.com/DFRobot/DFRobot_GDL/src/DFRpbot_UI 12 | */ 13 | 14 | 15 | #include "DFRobot_UI.h" 16 | #include "Arduino.h" 17 | #include "DFRobot_GDL.h" 18 | #include "DFRobot_Touch.h" 19 | /*M0*/ 20 | #if defined ARDUINO_SAM_ZERO 21 | #define TFT_DC 7 22 | #define TFT_CS 5 23 | #define TFT_RST 6 24 | #define TOUCH_CS A3 25 | /*ESP32 and ESP8266*/ 26 | #elif defined(ESP32) || defined(ESP8266) 27 | #define TFT_DC D2 28 | #define TFT_CS D6 29 | #define TFT_RST D3 30 | #define TOUCH_CS D6 31 | /* AVR series mainboard */ 32 | #else 33 | #define TFT_DC 2 34 | #define TFT_CS 3 35 | #define TFT_RST 4 36 | #define TOUCH_CS 5 37 | #endif 38 | 39 | /** 40 | @brief Constructor When the touch uses the gt series chip, you can call this constructor 41 | */ 42 | DFRobot_Touch_GT911 touch; 43 | 44 | /** 45 | @brief Constructor When the screen uses hardware SPI communication, the driver IC is ILI9488, and the screen resolution is 320x480, this constructor can be called 46 | @param dc Command/data line pin for SPI communication 47 | @param cs Chip select pin for SPI communication 48 | @param rst Reset pin of the screen 49 | */ 50 | DFRobot_ILI9488_320x480_HW_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST); 51 | /* M0 mainboard DMA transfer */ 52 | //DFRobot_ILI9488_320x480_DMA_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST); 53 | 54 | /** 55 | @brief Constructor 56 | @param gdl Screen object 57 | @param touch Touch object 58 | */ 59 | DFRobot_UI ui(&screen, NULL); 60 | 61 | int16_t point3[15][2] ={{0,50},{10,55},{15,65},{20,70},{63,75},{70,80},{80,90},{100,100},{110,110},{112,112},{150,120},{210,130},{230,130},{240,150},{300,190}}; 62 | void setup() 63 | { 64 | 65 | Serial.begin(9600); 66 | //Initialize UI 67 | ui.begin(); 68 | 69 | 70 | //Create a coordinate 71 | DFRobot_UI::sCoordinate_t &coord = ui.creatCoordinate(); 72 | coord.setPoint(point3,15,COLOR_RGB565_RED); 73 | ui.draw(&coord); 74 | 75 | } 76 | 77 | 78 | void loop() 79 | { 80 | //Refresh 81 | ui.refresh(); 82 | } 83 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_analysingBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_analysingBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x7c, 0x7c, 0x77, 0x4c, 0x7c, 0x77, 0x4c, 0x7c, 0x74, 0xc3, 3 | 0xc3, 0xff, 0xfa, 0x3c, 0x3f, 0xff, 0xa3, 0xc3, 0xff, 0xfa, 4 | 0x3c, 0x3f, 0xff, 0xa3, 0xf9, 0x3c, 0x3c, 0x4c, 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 0xf9, 0x3f, 0xd3, 0xc3, 0xf9, 0x3f, 0xd3, 0xc3, 0xf9, 23 | 0x3f, 0xd3, 0xc3, 0xc7, 0x4f, 0x93, 0xc3, 0xc7, 0x4f, 0x93, 24 | 0xc3, 0xc7, 0x4f, 0x93, 0xc3, 0xff, 0xfa, 0x3c, 0x3f, 0xff, 25 | 0xa3, 0xc3, 0xff, 0xfa, 0x3c, 0x3f, 0xfd, 0x0, 26 | 0x77, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x71, 0xc7, 0x71, 0xff, 27 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb, 0x73, 28 | 0xc7, 0x3f, 0xa7, 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 0xa7, 29 | 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 0xa7, 0x3c, 0x73, 0xfa, 30 | 0x73, 0xc7, 0x3f, 0xa7, 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 31 | 0xa7, 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 0xff, 0xff, 0xff, 32 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc7, 0x7c, 0x77, 0x77, 33 | 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 34 | 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 35 | 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x10, 0x0, 36 | }; 37 | 38 | const gdl_Glyph_t CN_analysingBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 39 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0x70e7, 0x71, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0x8111, 0x76, 0x21, 0x20, 0x0, 0x0, 0x24}, 42 | {0x4e2d, 0x62, 0x21, 0x20, 0x0, 0x0, 0x24}, 43 | {0} 44 | }; 45 | 46 | const gdl_Font_t CN_analysingBB_9_9_1_9Font36pt PROGMEM = { 47 | (uint8_t *)CN_analysingBB_9_9_1_9Font36ptBitmaps, 48 | (gdl_Glyph_t *)CN_analysingBB_9_9_1_9Font36ptGlyphs, 49 | 1, 0, 0x24, 50 | }; 51 | 52 | -------------------------------------------------------------------------------- /examples/ST7735_128×160/UI_coord/UI_coord.ino: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file UI_coord.ino 3 | * @brief Coordinate system control, users can customize the coordinate data in the coordinate system to draw polyline graph 4 | * @n The demo supports FireBeetle-ESP32, FireBeetle-ESP8266, FireBeetle-M0 5 | * @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com) 6 | * @license The MIT License (MIT) 7 | * @author [fary] (feng.yang@dfrobot.com) 8 | * @version V1.0 9 | * @date 2021-11-04 10 | * @get from https://www.dfrobot.com 11 | * @url https://github.com/DFRobot/DFRobot_GDL/src/DFRpbot_UI 12 | */ 13 | 14 | #include "DFRobot_UI.h" 15 | #include "Arduino.h" 16 | #include "DFRobot_GDL.h" 17 | #include "DFRobot_Touch.h" 18 | /*M0*/ 19 | #if defined ARDUINO_SAM_ZERO 20 | #define TFT_DC 7 21 | #define TFT_CS 5 22 | #define TFT_RST 6 23 | /*ESP32 ESP8266*/ 24 | #elif defined(ESP32) 25 | #define TFT_DC D2 26 | #define TFT_CS D6 27 | #define TFT_RST D3 28 | /*ESP8266*/ 29 | #elif defined(ESP8266) 30 | #define TFT_DC D4 31 | #define TFT_CS D6 32 | #define TFT_RST D5 33 | /* AVR series mainboard */ 34 | #else 35 | #define TFT_DC 2 36 | #define TFT_CS 3 37 | #define TFT_RST 4 38 | #endif 39 | 40 | /** 41 | * @brief Constructor Constructor of hardware SPI communication 42 | * @param dc Command/data line pin for SPI communication 43 | * @param cs Chip select pin for SPI communication 44 | * @param rst reset pin of the screen 45 | */ 46 | //DFRobot_ST7735_128x160_HW_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST); 47 | /* M0 mainboard DMA transfer */ 48 | //DFRobot_ST7735_128x160_DMA_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST); 49 | /* 50 | *User-selectable macro definition color 51 | *COLOR_RGB565_BLACK COLOR_RGB565_NAVY COLOR_RGB565_DGREEN COLOR_RGB565_DCYAN  52 | *COLOR_RGB565_MAROON COLOR_RGB565_PURPLE COLOR_RGB565_OLIVE COLOR_RGB565_LGRAY 53 | *COLOR_RGB565_DGRAY COLOR_RGB565_BLUE COLOR_RGB565_GREEN COLOR_RGB565_CYAN   54 | *COLOR_RGB565_RED COLOR_RGB565_MAGENTA COLOR_RGB565_YELLOW COLOR_RGB565_ORANGE         55 | *COLOR_RGB565_WHITE 56 | */ 57 | 58 | /** 59 | @brief Constructor 60 | @param gdl Screen object 61 | @param touch Touch object 62 | */ 63 | DFRobot_UI ui(&screen, NULL); 64 | 65 | int16_t point3[7][2] ={{0,50},{10,55},{15,65},{20,70},{63,75},{70,80},{80,90}}; 66 | void setup() 67 | { 68 | 69 | Serial.begin(9600); 70 | //Initialize UI 71 | ui.begin(); 72 | //Create a coordinate 73 | DFRobot_UI::sCoordinate_t &coord = ui.creatCoordinate(); 74 | 75 | coord.setPoint(point3,7,COLOR_RGB565_RED); 76 | ui.draw(&coord); 77 | 78 | } 79 | 80 | 81 | void loop() 82 | { 83 | //Refresh 84 | ui.refresh(); 85 | } 86 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/font/CN_analysingBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_analysingBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x7c, 0x7c, 0x77, 0x4c, 0x7c, 0x77, 0x4c, 0x7c, 0x74, 0xc3, 3 | 0xc3, 0xff, 0xfa, 0x3c, 0x3f, 0xff, 0xa3, 0xc3, 0xff, 0xfa, 4 | 0x3c, 0x3f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x4f, 0xf9, 0x3f, 0xff, 0xa3, 22 | 0xc3, 0xf9, 0x3f, 0xd3, 0xc3, 0xf9, 0x3f, 0xd3, 0xc3, 0xf9, 23 | 0x3f, 0xd3, 0xc3, 0xc7, 0x4f, 0x93, 0xc3, 0xc7, 0x4f, 0x93, 24 | 0xc3, 0xc7, 0x4f, 0x93, 0xc3, 0xff, 0xfa, 0x3c, 0x3f, 0xff, 25 | 0xa3, 0xc3, 0xff, 0xfa, 0x3c, 0x3f, 0xfd, 0x0, 26 | 0x77, 0xc7, 0x77, 0x71, 0xc7, 0x77, 0x71, 0xc7, 0x71, 0xff, 27 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb, 0x73, 28 | 0xc7, 0x3f, 0xa7, 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 0xa7, 29 | 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 0xa7, 0x3c, 0x73, 0xfa, 30 | 0x73, 0xc7, 0x3f, 0xa7, 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 31 | 0xa7, 0x3c, 0x73, 0xfa, 0x73, 0xc7, 0x3f, 0xff, 0xff, 0xff, 32 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc7, 0x7c, 0x77, 0x77, 33 | 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 34 | 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 35 | 0x77, 0x1c, 0x77, 0x77, 0x1c, 0x77, 0x10, 0x0, 36 | }; 37 | 38 | const gdl_Glyph_t CN_analysingBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 39 | {0x0, 0x3, 0x21, 0x20, 0x0, 0x0, 0x24}, 40 | {0x70e7, 0x71, 0x21, 0x20, 0x0, 0x0, 0x24}, 41 | {0x8111, 0x76, 0x21, 0x20, 0x0, 0x0, 0x24}, 42 | {0x4e2d, 0x62, 0x21, 0x20, 0x0, 0x0, 0x24}, 43 | {0} 44 | }; 45 | 46 | const gdl_Font_t CN_analysingBB_9_9_1_9Font36pt PROGMEM = { 47 | (uint8_t *)CN_analysingBB_9_9_1_9Font36ptBitmaps, 48 | (gdl_Glyph_t *)CN_analysingBB_9_9_1_9Font36ptGlyphs, 49 | 1, 0, 0x24, 50 | }; 51 | 52 | -------------------------------------------------------------------------------- /src/Fonts/FontCustomScript/README.md: -------------------------------------------------------------------------------- 1 | # Generate Custom Font 2 | ## Table of Contents 3 | * [Environment Building](#环境搭建) 4 | * [Generate Custom Font](#生成自定义字体) 5 | ## Environment Building 6 | Before we use setup.py script to create custom font, the preparation below needs to be completed first: 7 | - **Log in the website https://www.python.org/downloads/ to download python3.6 and above.**
8 | - **When the installation done, use the following commands to install a Python third-party dependency package:**
9 | - pip3 install numpy 10 | - pip install freetype-py 11 | - pip install chardet 12 | 13 | ## Generate Custom Font 14 | - **Store the TTF font file into ttf folder, for example, SIMKAI.TTF(Simplified Regular script)** 15 | - **Input any character you want into text.txt file, such as: Hello, world!** 16 | - **Open config.txt file, configure the name prefix and font size of the created font file:** 17 | - **FontFileNamePre: name prefix of the created font file** 18 | - **FontSizeList: List of the created font size. If it is empty[], a file of 12,18,24,36,48,72 size will be generated by default. If it is a Chinese character, it should not be less than 12.**
19 | **FontFileNamePre** Represent the prefix of the file name, and default means there is no prefix.
20 | - Example 1:If **FontFileNamePre = default**
21 | **FontSizeList = [12]**
22 | Generate a file named **SIMKAIFont12pt.h**
23 | - Example 2:If **FontFileNamePre = English**
24 | **FontSizeList = [12]**
25 | Generate a file named **EnglishSIMKAIFont12pt.h**
26 | - Example 3:If FontFileNamePre = English
27 | **FontSizeList = [12,24]**
28 | Generate files named **EnglishSIMKAIFont12pt.h**and **EnglishSIMKAIFont24pt.h**
29 | **Name and prefix of the generated font file = FontFileNamePre + TTF file name + Font + size + pt + .h**
30 | Among them, FontFileNamePre should only be **English characters**, size refers to the generated font size.
31 | - **Run setup.py script, font files with suffix .h, and pop out a font.txt text. Now complete the following steps, then you can display "Hello, world!" on the screen.
** 32 | - Copy the files in font folder to the directory DFRobot_GDL\src\Fonts\Fonts; 33 | - Copy the content in the font.txt into the file DFRobot_GDL\src\Fonts\DFRobot_Font.h; 34 | - Open Arduino IDE, construct object, such as tft, call tft.setFont(&SIMKAIFont48pt); 35 | - call tft.println("Hello, wrold!"), then the text "Hello, world!" will be displayed on the screen. 36 | - **Note: mainboards like UNO don't have too much ROM and RAM. If you generate too many fonts at a time, errors caused by insufficient memory will be reported.** 37 | -------------------------------------------------------------------------------- /examples/ST7735_80x160/flashFont/flashFont.ino: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file flashFont.ino 3 | * @brief Demonstrate the built-in font library in MO UD 4 | * @n The demo supports mainboard FireBeetle-M0 5 | * @copyright Copyright (c) 2010 DFRobot Co. Ltd (http://www.dfrobot.com) 6 | * @license The MIT License (MIT) 7 | * @author [fengli](li.feng@dfrobot.com) 8 | * @version V0.1 9 | * @date 2021-04-13 10 | * @url https://github.com/DFRobot/DFRobot_GDL 11 | */ 12 | #include "DFRobot_GDL.h" 13 | /*M0*/ 14 | #if defined ARDUINO_SAM_ZERO 15 | #define TFT_DC 7 16 | #define TFT_CS 5 17 | #define TFT_RST 6 18 | /*ESP32 and ESP8266*/ 19 | #elif defined(ESP32) || defined(ESP8266) 20 | #define TFT_DC D2 21 | #define TFT_CS D6 22 | #define TFT_RST D3 23 | /* AVR series mainboard*/ 24 | #else 25 | #define TFT_DC 2 26 | #define TFT_CS 3 27 | #define TFT_RST 4 28 | #endif 29 | 30 | /** 31 | * @brief Constructor Constructor of hardware SPI communication 32 | * @param dc Command/data line pin for SPI communication 33 | * @param cs Chip select pin for SPI communication 34 | * @param rst Reset pin of the screen 35 | */ 36 | DFRobot_ST7735_80x160_HW_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST); 37 | /* M0 mainboard DMA transfer */ 38 | //DFRobot_ST7735_80x160_DMA_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST); 39 | 40 | 41 | 42 | /* 43 | *User-selectable macro-defined color 44 | *COLOR_RGB565_BLACK COLOR_RGB565_NAVY COLOR_RGB565_DGREEN COLOR_RGB565_DCYAN  45 | *COLOR_RGB565_MAROON COLOR_RGB565_PURPLE COLOR_RGB565_OLIVE COLOR_RGB565_LGRAY 46 | *COLOR_RGB565_DGRAY COLOR_RGB565_BLUE COLOR_RGB565_GREEN COLOR_RGB565_CYAN   47 | *COLOR_RGB565_RED COLOR_RGB565_MAGENTA COLOR_RGB565_YELLOW COLOR_RGB565_ORANGE         48 | *COLOR_RGB565_WHITE 49 | */ 50 | 51 | void setup() { 52 | // put your setup code here, to run once: 53 | Serial.begin(115200); 54 | screen.begin(); 55 | /* Set screen color */ 56 | screen.fillScreen(COLOR_RGB565_BLACK); 57 | } 58 | 59 | void loop() { 60 | //Set the font size to 4, font size range 1-4 61 | screen.setTextSize(2); 62 | screen.setFont(&flashFont);//Read font from spi flash 63 | 64 | /* 65 | * @ brief Set text position 66 | * @ param x The x-coordinate of the first word of the text 67 | * @ param y The y-coordinate of the first word of the text 68 | */ 69 | screen.setCursor(/*x=*/10,/*y=*/0); 70 | // Set the text color 71 | // The optional color list is the same as the color list used in the fillScreen function 72 | screen.setTextColor(COLOR_RGB565_LGRAY); 73 | screen.setTextWrap(true); 74 | // Output text 75 | screen.print("DFRobot于2010年2月在上海成立,2013年网站正式上线。\ 76 | 致力于为青少年和创客爱好者提供开源硬件产品,机器人及零配件产品"); 77 | 78 | delay(5000); 79 | 80 | 81 | } -------------------------------------------------------------------------------- /examples/Touch_ST7365P_320x480/UI_keyPad/UI_keyPad.ino: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file UI_keypad.ino 3 | * @brief Create a numeric keyboard control on the screen 4 | * @n Users can click number on the keyboard and then the output will be displayed in the text box. 5 | * @n Click the text box to move the cursor into it when we need a text box to display. 6 | * @n The demo supports Mega2560, FireBeetle-ESP32, and FireBeetle-M0. 7 | * 8 | * @copyright Copyright (c) 2010 DFRobot Co. Ltd (http://www.dfrobot.com) 9 | * @license The MIT License (MIT) 10 | * @author [fengli] (li.feng@dfrobot.com) 11 | * @version V1.0 12 | * @date 2025-8-19 13 | * @get from https://www.dfrobot.com 14 | * @url https://github.com/DFRobot/DFRobot_GDL 15 | */ 16 | 17 | #include "DFRobot_UI.h" 18 | #include "Arduino.h" 19 | #include "DFRobot_GDL.h" 20 | #include "DFRobot_Touch.h" 21 | /*M0*/ 22 | #if defined ARDUINO_SAM_ZERO 23 | #define TFT_DC 7 24 | #define TFT_CS 5 25 | #define TFT_RST 6 26 | #define TFT_BL 9 27 | #define TOUCH_RST 10 28 | #define TOUCH_INT 2 29 | /*ESP32 and ESP8266*/ 30 | #elif defined(ESP32) 31 | #define TFT_DC D2 32 | #define TFT_CS D6 33 | #define TFT_RST D3 34 | #define TFT_BL D13 35 | #define TOUCH_RST D10 36 | #define TOUCH_INT D11 37 | /* AVR series mainboard */ 38 | #else 39 | #define TFT_DC 34 40 | #define TFT_CS 36 41 | #define TFT_RST 35 42 | #define TFT_BL 33 43 | #define TOUCH_RST 31 44 | #define TOUCH_INT 32 45 | #endif 46 | 47 | /** 48 | @brief Constructor When the touch uses the gt series chip, you can call this constructor 49 | */ 50 | 51 | 52 | DFRobot_Touch_GT911_IPS touch(0X5D,TOUCH_RST,TOUCH_INT); 53 | 54 | /** 55 | @brief Constructor When the screen uses hardware SPI communication, the driver IC is ST7365P, and the screen resolution is 320x480, this constructor can be called 56 | @param dc Command/data line pin for SPI communication 57 | @param cs Chip select pin for SPI communication 58 | @param rst Reset pin of the screen 59 | */ 60 | DFRobot_ST7365P_320x480_HW_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST,/*bl=*/TFT_BL); 61 | /* M0 mainboard DMA transfer */ 62 | //DFRobot_ST7365P_320x480_DMA_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST,/*bl=*/TFT_BL); 63 | 64 | 65 | /** 66 | @brief Constructor 67 | @param gdl Screen object 68 | @param touch Touch object 69 | */ 70 | DFRobot_UI ui(&screen, &touch); 71 | 72 | 73 | void setup() 74 | { 75 | 76 | Serial.begin(9600); 77 | 78 | ui.begin(); 79 | // Set the UI theme, there are two themes to choose from: CLASSIC and MODERN. 80 | ui.setTheme(DFRobot_UI::CLASSIC); 81 | 82 | //Create a numeric keypad 83 | DFRobot_UI::sObject_t &kp = ui.creatKeyPad(); 84 | ui.draw(&kp); 85 | } 86 | 87 | void loop() 88 | { 89 | // refresh 90 | ui.refresh(); 91 | } 92 | -------------------------------------------------------------------------------- /examples/Touch_ILI9341_240x320/UI_keyPad/UI_keyPad.ino: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file UI_keypad.ino 3 | * @brief Create a numeric keyboard control on the screen. 4 | * @n Users can click number on the keyboard and then the output will be displayed in the text box. 5 | * @n Click the text box to move the cursor into it when we need a text box to display. 6 | * @n The demo supports Arduino Uno, Leonardo, Mega2560, FireBeetle-ESP32, FireBeetle-ESP8266, and FireBeetle-M0. 7 | * 8 | * @copyright Copyright (c) 2010 DFRobot Co. Ltd (http://www.dfrobot.com) 9 | * @license The MIT License (MIT) 10 | * @author [fengli] (li.feng@dfrobot.com) 11 | * @version V1.0 12 | * @date 2019-12-6 13 | * @get from https://www.dfrobot.com 14 | * @url https://github.com/DFRobot/DFRobot_GDL/src/DFRpbot_UI 15 | */ 16 | #include "DFRobot_UI.h" 17 | #include "Arduino.h" 18 | #include "DFRobot_GDL.h" 19 | #include "DFRobot_Touch.h" 20 | 21 | /*M0*/ 22 | #if defined ARDUINO_SAM_ZERO 23 | #define TFT_DC 7 24 | #define TFT_CS 5 25 | #define TFT_RST 6 26 | #define TOUCH_CS A3 27 | /*ESP32 and ESP8266*/ 28 | #elif defined(ESP32) || defined(ESP8266) 29 | #define TFT_DC D2 30 | #define TFT_CS D6 31 | #define TFT_RST D3 32 | #define TOUCH_CS D12 33 | /* AVR series mainboard */ 34 | #else 35 | #define TFT_DC 2 36 | #define TFT_CS 3 37 | #define TFT_RST 4 38 | #define TOUCH_CS 5 39 | #endif 40 | /** 41 | * @brief Constructor When the touch uses XPT2046 chip, you can call this constructor 42 | * @param cs SPI chip select signal 43 | * @param rst Reset signal 44 | * @param irq Interrupt signal 45 | */ 46 | DFRobot_Touch_XPT2046 touch(/*cs=*/TOUCH_CS); 47 | 48 | /** 49 | * @brief Constructor When the screen uses hardware SPI communication, the driver IC is ILI9341, and the screen resolution is 240x320, this constructor can be called 50 | * @param dc Command/data line pin for SPI communication 51 | * @param cs Chip select pin for SPI communication 52 | * @param rst Reset pin of the screen 53 | */ 54 | DFRobot_ILI9341_240x320_HW_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST); 55 | /* M0 mainboard DMA transfer */ 56 | //DFRobot_ILI9341_240x320_DMA_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST); 57 | 58 | /** 59 | * @brief Constructor 60 | * @param gdl Screen object 61 | * @param Touch Touch object 62 | */ 63 | DFRobot_UI ui(&screen, &touch); 64 | 65 | void setup() 66 | { 67 | 68 | Serial.begin(9600); 69 | 70 | ui.begin(); 71 | // Set the UI theme, there are two themes to choose from: CLASSIC and MODERN. 72 | ui.setTheme(DFRobot_UI::CLASSIC); 73 | 74 | //Create a numeric keypad 75 | DFRobot_UI::sObject_t &kp = ui.creatKeyPad(); 76 | ui.draw(&kp); 77 | } 78 | 79 | void loop() 80 | { 81 | // Refresh 82 | ui.refresh(); 83 | 84 | } 85 | -------------------------------------------------------------------------------- /examples/Touch_ST7365P_320x480/UI_coord/UI_coord.ino: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file UI_coord.ino 3 | * @brief Coordinate system control, users can customize the coordinate data in the coordinate system to draw polyline graph 4 | * @n The demo supports Mega2560, FireBeetle-ESP32, FireBeetle-M0 5 | * @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com) 6 | * @license The MIT License (MIT) 7 | * @author [fengli](li.feng@dfrobot.com) 8 | * @version V1.0 9 | * @date 2025-8-19 10 | * @get from https://www.dfrobot.com 11 | * @url https://github.com/DFRobot/DFRobot_GDL 12 | */ 13 | 14 | 15 | #include "DFRobot_UI.h" 16 | #include "Arduino.h" 17 | #include "DFRobot_GDL.h" 18 | #include "DFRobot_Touch.h" 19 | /*M0*/ 20 | #if defined ARDUINO_SAM_ZERO 21 | #define TFT_DC 7 22 | #define TFT_CS 5 23 | #define TFT_RST 6 24 | #define TFT_BL 9 25 | #define TOUCH_RST 10 26 | #define TOUCH_INT 2 27 | #define TOUCH_CS A3 28 | /*ESP32 and ESP8266*/ 29 | #elif defined(ESP32) 30 | #define TFT_DC D2 31 | #define TFT_CS D6 32 | #define TFT_RST D3 33 | #define TFT_BL D13 34 | #define TOUCH_RST D10 35 | #define TOUCH_INT D11 36 | /* AVR series mainboard */ 37 | #else 38 | #define TFT_DC 34 39 | #define TFT_CS 36 40 | #define TFT_RST 35 41 | #define TFT_BL 33 42 | #define TOUCH_RST 31 43 | #define TOUCH_INT 32 44 | #endif 45 | 46 | /** 47 | @brief Constructor When the touch uses the gt series chip, you can call this constructor 48 | */ 49 | 50 | 51 | DFRobot_Touch_GT911_IPS touch(0X5D,TOUCH_RST,TOUCH_INT); 52 | 53 | /** 54 | @brief Constructor When the screen uses hardware SPI communication, the driver IC is ST7365P, and the screen resolution is 320x480, this constructor can be called 55 | @param dc Command/data line pin for SPI communication 56 | @param cs Chip select pin for SPI communication 57 | @param rst Reset pin of the screen 58 | */ 59 | DFRobot_ST7365P_320x480_HW_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST,/*bl=*/TFT_BL); 60 | /* M0 mainboard DMA transfer */ 61 | //DFRobot_ST7365P_320x480_DMA_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST,/*bl=*/TFT_BL); 62 | 63 | /** 64 | @brief Constructor 65 | @param gdl Screen object 66 | @param touch Touch object 67 | */ 68 | DFRobot_UI ui(&screen, NULL); 69 | 70 | int16_t point3[15][2] ={{0,50},{10,55},{15,65},{20,70},{63,75},{70,80},{80,90},{100,100},{110,110},{112,112},{150,120},{210,130},{230,130},{240,150},{300,190}}; 71 | void setup() 72 | { 73 | 74 | Serial.begin(9600); 75 | //Initialize UI 76 | ui.begin(); 77 | 78 | 79 | //Create a coordinate 80 | DFRobot_UI::sCoordinate_t &coord = ui.creatCoordinate(); 81 | coord.setPoint(point3,15,COLOR_RGB565_RED); 82 | ui.draw(&coord); 83 | 84 | } 85 | 86 | 87 | void loop() 88 | { 89 | //Refresh 90 | ui.refresh(); 91 | } 92 | -------------------------------------------------------------------------------- /examples/ST7789_172X320/UI_coord/UI_coord.ino: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file UI_coord.ino 3 | * @brief Coordinate system control, users can customize the coordinate data in the coordinate system to draw polyline graph 4 | * @n The demo supports FireBeetle-ESP32, FireBeetle-ESP8266, FireBeetle-M0 5 | * @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com) 6 | * @license The MIT License (MIT) 7 | * @author [tangjie] (jie.tang@dfrobot.com) 8 | * @version V1.0 9 | * @date 2022-05-16 10 | * @get from https://www.dfrobot.com 11 | * @url https://github.com/DFRobot/DFRobot_GDL/src/DFRpbot_UI 12 | */ 13 | 14 | #include "DFRobot_UI.h" 15 | #include "Arduino.h" 16 | #include "DFRobot_GDL.h" 17 | #include "DFRobot_Touch.h" 18 | /*M0*/ 19 | #if defined ARDUINO_SAM_ZERO 20 | #define TFT_DC 7 21 | #define TFT_CS 5 22 | #define TFT_RST 6 23 | #define TFT_BL 9 24 | /*ESP32*/ 25 | #elif defined(ESP32) 26 | #define TFT_DC D2 27 | #define TFT_CS D6 28 | #define TFT_RST D3 29 | #define TFT_BL D4n 30 | /*ESP8266*/ 31 | #elif defined(ESP8266) 32 | #define TFT_DC D8 33 | #define TFT_CS D6 34 | #define TFT_RST D3 35 | #define TFT_BL D4 36 | /* AVR series mainboard */ 37 | #else 38 | #define TFT_DC 2 39 | #define TFT_CS 3 40 | #define TFT_RST 4 41 | #define TFT_BL 5 42 | #endif 43 | 44 | 45 | /** 46 | @brief Constructor When the screen uses hardware SPI communication, the driver IC is st7789, and the screen resolution is 172x320, this constructor can be called 47 | @param dc Command/data line pin for SPI communication 48 | @param cs Chip select pin for SPI communication 49 | @param rst Reset pin of the screen 50 | @param bl Rscreen backlight 51 | */ 52 | DFRobot_ST7789_172x320_HW_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST,/*bl=*/TFT_BL); 53 | /* M0 mainboard DMA transfer */ 54 | //DFRobot_ST7789_172x320_DMA_SPI screen(/*dc=*/TFT_DC,/*cs=*/TFT_CS,/*rst=*/TFT_RST,/*bl=*/TFT_BL); 55 | 56 | /* 57 | *User-selectable macro definition color 58 | *COLOR_RGB565_BLACK COLOR_RGB565_NAVY COLOR_RGB565_DGREEN COLOR_RGB565_DCYAN  59 | *COLOR_RGB565_MAROON COLOR_RGB565_PURPLE COLOR_RGB565_OLIVE COLOR_RGB565_LGRAY 60 | *COLOR_RGB565_DGRAY COLOR_RGB565_BLUE COLOR_RGB565_GREEN COLOR_RGB565_CYAN   61 | *COLOR_RGB565_RED COLOR_RGB565_MAGENTA COLOR_RGB565_YELLOW COLOR_RGB565_ORANGE         62 | *COLOR_RGB565_WHITE 63 | */ 64 | 65 | /** 66 | @brief Constructor 67 | @param gdl Screen object 68 | @param touch Touch object 69 | */ 70 | DFRobot_UI ui(&screen, NULL); 71 | 72 | int16_t point3[7][2] ={{0,50},{10,55},{15,65},{20,70},{63,75},{70,80},{80,90}}; 73 | void setup() 74 | { 75 | 76 | Serial.begin(9600); 77 | //Initialize UI 78 | ui.begin(); 79 | //Create a coordinate 80 | DFRobot_UI::sCoordinate_t &coord = ui.creatCoordinate(); 81 | 82 | coord.setPoint(point3,7,COLOR_RGB565_RED); 83 | ui.draw(&coord); 84 | 85 | } 86 | 87 | 88 | void loop() 89 | { 90 | //Refresh 91 | ui.refresh(); 92 | } 93 | -------------------------------------------------------------------------------- /src/Fonts/Fonts/CN_sleepingBB_9_9_1_9Font36pt.h: -------------------------------------------------------------------------------- 1 | const uint8_t CN_sleepingBB_9_9_1_9Font36ptBitmaps[] PROGMEM = { 2 | 0x73, 0xf9, 0x3d, 0x77, 0x3f, 0x93, 0xd7, 0x73, 0xf9, 0x3d, 3 | 0x7f, 0xfc, 0x3d, 0x7f, 0xc7, 0x3d, 0x7f, 0xc7, 0x3d, 0x7f, 4 | 0xc7, 0x3d, 0x77, 0xc3, 0xc3, 0xd3, 0xc7, 0xc3, 0xc3, 0xd3, 5 | 0xc7, 0xc3, 0xc3, 0xd3, 0xff, 0xf9, 0x3d, 0x3f, 0xff, 0x93, 6 | 0xd3, 0xff, 0xf9, 0x3d, 0x3f, 0xff, 0x93, 0xd3, 0xc7, 0xc7, 7 | 0x3d, 0x77, 0xc7, 0x3d, 0x77, 0xc7, 0x3d, 0x77, 0xc7, 0x3d, 8 | 0x73, 0xf9, 0x7f, 0x97, 0x3f, 0x97, 0xf9, 0x73, 0xf9, 0x7f, 9 | 0x97, 0xff, 0x93, 0xf9, 0x3f, 0x93, 0xf9, 0x77, 0xf9, 0x3f, 10 | 0x97, 0x7f, 0x93, 0xf9, 0x77, 0xc7, 0xc7, 0x3f, 0x97, 0x4c, 11 | 0x73, 0xf9, 0x74, 0xc7, 0x3f, 0x97, 0x4c, 0x3f, 0xf9, 0x74, 12 | 0xc3, 0xf9, 0x77, 0x4c, 0x3f, 0x97, 0x74, 0xc3, 0xf9, 0x74, 13 | 0x0, 14 | 0x77, 0x71, 0xfc, 0x77, 0x71, 0xfc, 0x77, 0x71, 0xfc, 0x3f, 15 | 0xff, 0xfa, 0x3f, 0xfd, 0x77, 0xff, 0xd7,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 0xff, 0xfa, 0x3f, 0xff, 0xfa, 0x3f, 0xff, 0xfa, 0x3f, 35 | 0xff, 0xfa, 0x3c, 0x77, 0x7d, 0x3c, 0x77, 0x7d, 0x3c, 0x77, 36 | 0x7d, 0x3f, 0xff, 0xfa, 0x3f, 0xff, 0xfa, 0x3f, 0xff, 0xfa, 37 | 0x3f, 0xff, 0xfa, 0x3c, 0x3d, 0x73, 0xc7, 0xc3, 0xd7, 0x3c, 38 | 0x7c, 0x3d, 0x73, 0xc7, 0xff, 0xff, 0xa3, 0xff, 0xff, 0xa3, 39 | 0xff, 0xff, 0xa3, 0xff, 0xff, 0xa3, 0xc7, 0xc7, 0xc7, 0xc7, 40 | 0xc7, 0xc7, 0xc7, 0xc7, 0xc4, 0xff, 0xff, 0xfa, 0x3f, 0xff, 41 | 0xfa, 0x3f, 0xff, 0xfa, 0x3f, 0xff, 0xfa, 0x3f, 0xff, 0xfa, 42 | 0x73, 0xc7, 0xc4, 0xc7, 0x3c, 0x7c, 0x4c, 0x3f, 0xc7, 0xc7, 43 | 0x4f, 0x97, 0x3c, 0x74, 0xf9, 0x73, 0xc7, 0x4f, 0x97, 0x3c, 44 | 0x40, 0x0, 45 | }; 46 | 47 | const gdl_Glyph_t CN_sleepingBB_9_9_1_9Font36ptGlyphs[] PROGMEM = { 48 | {0x0, 0x4, 0x21, 0x20, 0x0, 0x0, 0x24}, 49 | {0x79d2, 0x6f, 0x21, 0x20, 0x0, 0x0, 0x24}, 50 | {0x540e, 0x5e, 0x21, 0x20, 0x0, 0x0, 0x24}, 51 | {0x9ed1, 0x5b, 0x21, 0x20, 0x0, 0x0, 0x24}, 52 | {0x5c4f, 0x66, 0x21, 0x20, 0x0, 0x0, 0x24}, 53 | {0} 54 | }; 55 | 56 | const gdl_Font_t CN_sleepingBB_9_9_1_9Font36pt PROGMEM = { 57 | (uint8_t *)CN_sleepingBB_9_9_1_9Font36ptBitmaps, 58 | (gdl_Glyph_t *)CN_sleepingBB_9_9_1_9Font36ptGlyphs, 59 | 1, 0, 0x24, 60 | }; 61 | 62 | --------------------------------------------------------------------------------