UP LVGL字库加载显示支持

This commit is contained in:
JiXieShi
2024-06-25 18:17:14 +08:00
parent dd27c265da
commit 6fb2733bfb
8 changed files with 304 additions and 597 deletions

View File

@@ -114,9 +114,12 @@ void Test_OLED() {
int s = 0;
char buf[30] = {0x5B, 0x57, 0x5E, 0x93, 0x75, 0x1F, 0x62, 0x10, 0x6D, 0x4B, 0x8B, 0xD5};
OLED_ShowCHString(&oled, 15, 16, buf);
OLED_Refresh(&oled);
// OLED_ShowCHString(&oled, 15, 16, buf);
extern lv_font_t myFont;
OLED_DisplayString(&oled, &myFont, "你好", 0, 0);
OLED_Refresh(&oled);
_beginthread(Get_Key, 0, NULL);
pageinit();
Sleep(5000);