UP 支持直接字符配置

This commit is contained in:
jixishi
2024-07-05 23:15:10 +08:00
parent 3dd423da77
commit 7719984a6e
2 changed files with 7 additions and 5 deletions

View File

@@ -126,7 +126,7 @@ void Test_OLED() {
uint8_t bufx[8] = {0x5F, 0x53, 0x52, 0x4D, 0x6D, 0xB2, 0x4F, 0x4D};
sprintf(sbuf, "%s: 13.4271m\0", bufx);
// OLED_ShowCHString(&oled, 1, 24, sbuf);
OLED_ShowCHString(&oled, 1, 24, "姓名学号班级");
OLED_ShowCHString(&oled, 1, 24, "姓名学号:2233");
OLED_DrawRect(&oled, 0, 0, 127, 63);
// };//