Fixed the problem of "fading" when displaying images with high loads

This commit is contained in:
SSYYL 2023-02-16 15:03:05 +08:00
parent 60762ac5a3
commit 8be47b27f1
4 changed files with 12 additions and 12 deletions

View File

@ -92,8 +92,8 @@ int Epd::Init(void) {
SendCommand(0x06); SendCommand(0x06);
SendData(0x6F); SendData(0x6F);
SendData(0x1F); SendData(0x1F);
SendData(0x16); SendData(0x1F);
SendData(0x25); SendData(0x22);
SendCommand(0x08); SendCommand(0x08);
SendData(0x6F); SendData(0x6F);
@ -106,7 +106,7 @@ int Epd::Init(void) {
SendData(0x04); SendData(0x04);
SendCommand(0x30); SendCommand(0x30);
SendData(0x02); SendData(0x3C);
SendCommand(0x41); // TSE SendCommand(0x41); // TSE
SendData(0x00); SendData(0x00);

View File

@ -147,8 +147,8 @@ void EPD_7IN3F_Init(void)
EPD_7IN3F_SendCommand(0x06); EPD_7IN3F_SendCommand(0x06);
EPD_7IN3F_SendData(0x6F); EPD_7IN3F_SendData(0x6F);
EPD_7IN3F_SendData(0x1F); EPD_7IN3F_SendData(0x1F);
EPD_7IN3F_SendData(0x16); EPD_7IN3F_SendData(0x1F);
EPD_7IN3F_SendData(0x25); EPD_7IN3F_SendData(0x22);
EPD_7IN3F_SendCommand(0x08); EPD_7IN3F_SendCommand(0x08);
EPD_7IN3F_SendData(0x6F); EPD_7IN3F_SendData(0x6F);
@ -161,7 +161,7 @@ void EPD_7IN3F_Init(void)
EPD_7IN3F_SendData(0x04); EPD_7IN3F_SendData(0x04);
EPD_7IN3F_SendCommand(0x30); EPD_7IN3F_SendCommand(0x30);
EPD_7IN3F_SendData(0x02); EPD_7IN3F_SendData(0x3C);
EPD_7IN3F_SendCommand(0x41); // TSE EPD_7IN3F_SendCommand(0x41); // TSE
EPD_7IN3F_SendData(0x00); EPD_7IN3F_SendData(0x00);

View File

@ -146,8 +146,8 @@ class EPD:
self.send_command(0x06) self.send_command(0x06)
self.send_data(0x6F) self.send_data(0x6F)
self.send_data(0x1F) self.send_data(0x1F)
self.send_data(0x16) self.send_data(0x1F)
self.send_data(0x25) self.send_data(0x22)
self.send_command(0x08) self.send_command(0x08)
self.send_data(0x6F) self.send_data(0x6F)
@ -160,7 +160,7 @@ class EPD:
self.send_data(0x04) self.send_data(0x04)
self.send_command(0x30) self.send_command(0x30)
self.send_data(0x02) self.send_data(0x3C)
self.send_command(0x41) # TSE self.send_command(0x41) # TSE
self.send_data(0x00) self.send_data(0x00)

View File

@ -147,8 +147,8 @@ void EPD_7IN3F_Init(void)
EPD_7IN3F_SendCommand(0x06); EPD_7IN3F_SendCommand(0x06);
EPD_7IN3F_SendData(0x6F); EPD_7IN3F_SendData(0x6F);
EPD_7IN3F_SendData(0x1F); EPD_7IN3F_SendData(0x1F);
EPD_7IN3F_SendData(0x16); EPD_7IN3F_SendData(0x1F);
EPD_7IN3F_SendData(0x25); EPD_7IN3F_SendData(0x22);
EPD_7IN3F_SendCommand(0x08); EPD_7IN3F_SendCommand(0x08);
EPD_7IN3F_SendData(0x6F); EPD_7IN3F_SendData(0x6F);
@ -161,7 +161,7 @@ void EPD_7IN3F_Init(void)
EPD_7IN3F_SendData(0x04); EPD_7IN3F_SendData(0x04);
EPD_7IN3F_SendCommand(0x30); EPD_7IN3F_SendCommand(0x30);
EPD_7IN3F_SendData(0x02); EPD_7IN3F_SendData(0x3C);
EPD_7IN3F_SendCommand(0x41); // TSE EPD_7IN3F_SendCommand(0x41); // TSE
EPD_7IN3F_SendData(0x00); EPD_7IN3F_SendData(0x00);