Skip to content

Commit

Permalink
Fix graininess & streaks for 7.50inV2alt Waveshare e-paper (#5168)
Browse files Browse the repository at this point in the history
  • Loading branch information
Egglestron authored and jesserockz committed Aug 1, 2023
1 parent c63cdae commit b3d5a4d
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions esphome/components/waveshare_epaper/waveshare_epaper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1492,11 +1492,10 @@ void WaveshareEPaper7P5InV2alt::initialize() {
this->command(0x01);

// 1-0=11: internal power
this->data(0x17);

this->data(0x07);
this->data(0x17); // VGH&VGL
this->data(0x3F); // VSH
this->data(0x3F); // VSL
this->data(0x26); // VSL
this->data(0x11); // VSHR

// VCOM DC Setting
Expand All @@ -1510,10 +1509,6 @@ void WaveshareEPaper7P5InV2alt::initialize() {
this->data(0x2F);
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
this->command(0x04);

Expand All @@ -1535,7 +1530,7 @@ void WaveshareEPaper7P5InV2alt::initialize() {
// COMMAND VCOM AND DATA INTERVAL SETTING
this->command(0x50);
this->data(0x10);
this->data(0x07);
this->data(0x00);
// COMMAND TCON SETTING
this->command(0x60);
this->data(0x22);
Expand Down

0 comments on commit b3d5a4d

Please sign in to comment.