SDL3 Form SIM_Display

This commit is contained in:
JiXieShi
2024-09-21 20:43:31 +08:00
parent fbc054d999
commit 6c9a999c71
14 changed files with 448 additions and 62 deletions

View File

@@ -114,12 +114,10 @@ OLED_T oled = {
void Test_OLED(void *pVoid) {
SIM_OLED_INIT(128, 64, CYAN, 0x0, 5, 0);
SIM_OLED_START();
OLED_Init(&oled);
OLED_CLS(&oled);
OLED_ShowCHString(&oled, 1, 24, "姓名学号:2233");
OLED_ShowCHString(&oled, 1, 24, "星海科技机械师");
OLED_DrawRect(&oled, 0, 0, 127, 63);