1
Discussion - EVE / EVE3 to EVE4 - Big Font Display Issue
« on: August 11, 2021, 02:21:38 PM »
I was previously using a EVE3 5" display and had a large custom font displaying without issue. When I tried the same code on a EVE4 7" display, I am experiencing a corrupt display. When I change the code to only display one large digit, it will display correctly. Also, when I am displaying two digits and they happen to be the same digit, it will display correctly but if they differ it does not work.
I tried to enable adaptive framerate using the following line under TFT_init but this did not have any effect:
I have included my code in a zip file and will include sample images in a following post when this post is approved. I highly appreciate any help I can get on this issue, thank you!
Todd
This is the part of the code that is causing the display corruption on the 7inch:
I tried to enable adaptive framerate using the following line under TFT_init but this did not have any effect:
Code: [Select]
EVE_memWrite8(REG_ADAPTIVE_FRAMERATE, 0x1);
I have included my code in a zip file and will include sample images in a following post when this post is approved. I highly appreciate any help I can get on this issue, thank you!
Todd
This is the part of the code that is causing the display corruption on the 7inch:
Code: [Select]
EVE_cmd_dl_burst(DL_COLOR_RGB | WHITE);
EVE_cmd_dl_burst(DL_BEGIN | EVE_BITMAPS);
EVE_cmd_setbitmap_burst(0x800000 + 5254, EVE_COMPRESSED_RGBA_ASTC_8x8_KHR, 224, 384);
if (speedinttens > 0){
EVE_cmd_dl_burst(CELL(speedinttens));
EVE_cmd_dl_burst(VERTEX2F(50, 100));
}
EVE_cmd_dl_burst(CELL(speedintones));
EVE_cmd_dl_burst(VERTEX2F(290, 100));
EVE_cmd_dl_burst(CELL(speedinttenths));
EVE_cmd_dl_burst(VERTEX2F(530, 100));
EVE_cmd_dl_burst(DL_END);