UP LVGL字库加载显示支持
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user