Fix LilyGo T5
This commit is contained in:
parent
e37f8b71f0
commit
cc88f3e6a9
@ -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;
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user