Larger code

This commit is contained in:
2024-11-20 18:47:17 -05:00
parent 4bc4bf1818
commit 754bc582db
4 changed files with 575 additions and 5 deletions

View File

@@ -50,15 +50,15 @@ int draw() {
Paint_SelectImage(BlackImage);
Paint_Clear(WHITE);
Paint_DrawString(10, 40, "Hello, World!", &Font16, WHITE, BLACK);
const char *confName = "default";
GoString confStr = {confName, strlen(confName)};
const char *code = getCode(confStr);
Debug("Code: %s\n", code);
Paint_DrawString(5, 5, code, &Font24, WHITE, BLACK);
Paint_DrawString(5, 5, code, &Font72, WHITE, BLACK);
Paint_DrawBitMap();
GUI_ReadBmp();
Paint_DrawRectangle(10, 112, 240, 92, WHITE, DOT_PIXEL_1X1, DRAW_FILL_FULL);
Paint_DrawRectangle(10, 112, 240, 92, WHITE, DOT_PIXEL_1X1, DRAW_FILL_EMPTY);
EPD_2in13_V4_Display_Base(BlackImage);
Paint_NewImage(BlackImage, EPD_2in13_V4_WIDTH, EPD_2in13_V4_HEIGHT, 90, WHITE);