Fix LilyGo T5

This commit is contained in:
Theo Arends 2025-08-12 17:22:31 +02:00
parent e37f8b71f0
commit cc88f3e6a9
2 changed files with 5 additions and 4 deletions

View File

@ -59,7 +59,8 @@ Epd47::Epd47(int16_t dwidth, int16_t dheight) : Renderer(dwidth, dheight) {
}
int Epd47::Init(void) {
epd_init(&epd_board_lilygo_t5_47, &ED097TC2, EPD_LUT_1K);
epd_init(&epd_board_lilygo_t5_47, &ED047TC1, EPD_LUT_64K);
// epd_set_vcom(1560);
hl = epd_hl_init(WAVEFORM);
epd47_buffer = epd_hl_get_framebuffer(&hl);
framebuffer = epd47_buffer;

View File

@ -49,7 +49,7 @@ void EpdInitDriver47(void) {
}
// init renderer
epd47 = new Epd47(Settings->display_width, Settings->display_height);
epd47 = new Epd47(Settings->display_width, Settings->display_height);
epd47->Init();
renderer = epd47;
@ -57,10 +57,10 @@ void EpdInitDriver47(void) {
renderer->setTextColor(EPD47_BLACK, EPD47_WHITE);
#ifdef SHOW_SPLASH
if (!Settings->flag5.display_no_splash) {
if (!Settings->flag5.display_no_splash) { // SetOption135 - (Display & LVGL) force disabling default splash screen
// Welcome text
renderer->setTextFont(2);
renderer->DrawStringAt(50, 50, "LILGO 4.7 E-Paper Display!", EPD47_BLACK, 0);
renderer->DrawStringAt(50, 50, "LILYGO 4.7 E-Paper Display!", EPD47_BLACK, 0);
renderer->Updateframe();
}
#endif