mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 17:27:45 +01:00
Fix graininess & streaks for 7.50inV2alt Waveshare e-paper (#5168)
This commit is contained in:
parent
c63cdae84f
commit
b3d5a4dfdb
1 changed files with 3 additions and 8 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue