Fix graininess & streaks for 7.50inV2alt Waveshare e-paper (#5168)

This commit is contained in:
Maxime Michel 2023-08-01 02:03:34 +02:00 committed by Jesse Hills
parent c63cdae84f
commit b3d5a4dfdb
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

View file

@ -1492,11 +1492,10 @@ void WaveshareEPaper7P5InV2alt::initialize() {
this->command(0x01); this->command(0x01);
// 1-0=11: internal power // 1-0=11: internal power
this->data(0x17); this->data(0x07);
this->data(0x17); // VGH&VGL this->data(0x17); // VGH&VGL
this->data(0x3F); // VSH this->data(0x3F); // VSH
this->data(0x3F); // VSL this->data(0x26); // VSL
this->data(0x11); // VSHR this->data(0x11); // VSHR
// VCOM DC Setting // VCOM DC Setting
@ -1510,10 +1509,6 @@ void WaveshareEPaper7P5InV2alt::initialize() {
this->data(0x2F); this->data(0x2F);
this->data(0x17); this->data(0x17);
// OSC Setting
this->command(0x30);
this->data(0x06); // 2-0=100: N=4 ; 5-3=111: M=7 ; 3C=50Hz 3A=100HZ
// POWER ON // POWER ON
this->command(0x04); this->command(0x04);
@ -1535,7 +1530,7 @@ void WaveshareEPaper7P5InV2alt::initialize() {
// COMMAND VCOM AND DATA INTERVAL SETTING // COMMAND VCOM AND DATA INTERVAL SETTING
this->command(0x50); this->command(0x50);
this->data(0x10); this->data(0x10);
this->data(0x07); this->data(0x00);
// COMMAND TCON SETTING // COMMAND TCON SETTING
this->command(0x60); this->command(0x60);
this->data(0x22); this->data(0x22);