From cc88f3e6a91e1a41f567ea54b9943e2b19dc9414 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 12 Aug 2025 17:22:31 +0200 Subject: [PATCH] Fix LilyGo T5 --- lib/libesp32_eink/epdiy/src/epd4in7.cpp | 3 ++- tasmota/tasmota_xdsp_display/xdsp_16_esp32_epaper_47.ino | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/libesp32_eink/epdiy/src/epd4in7.cpp b/lib/libesp32_eink/epdiy/src/epd4in7.cpp index 5f85bc438..70e29803f 100644 --- a/lib/libesp32_eink/epdiy/src/epd4in7.cpp +++ b/lib/libesp32_eink/epdiy/src/epd4in7.cpp @@ -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; diff --git a/tasmota/tasmota_xdsp_display/xdsp_16_esp32_epaper_47.ino b/tasmota/tasmota_xdsp_display/xdsp_16_esp32_epaper_47.ino index 15b79955c..354f394ba 100644 --- a/tasmota/tasmota_xdsp_display/xdsp_16_esp32_epaper_47.ino +++ b/tasmota/tasmota_xdsp_display/xdsp_16_esp32_epaper_47.ino @@ -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