Skip to content

Commit

Permalink
Update waveshare_epaper.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixswiss committed Nov 24, 2023
1 parent 68c94a4 commit 8d19bac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions esphome/components/waveshare_epaper/waveshare_epaper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,7 @@ void WaveshareEPaper7P5InBV3::initialize() {
this->wait_until_idle_();


Check failure on line 1414 in esphome/components/waveshare_epaper/waveshare_epaper.cpp

View workflow job for this annotation

GitHub Actions / Run script/ci-custom

Trailing whitespace detected
uint8_t lut_vcom_7_i_n5_v2[] = {
/* uint8_t lut_vcom_7_i_n5_v2[] = {
0x0, 0xF, 0xF, 0x0, 0x0, 0x1, 0x0, 0xF, 0x1, 0xF, 0x1, 0x2, 0x0, 0xF, 0xF, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
};
Expand Down Expand Up @@ -1456,7 +1456,7 @@ void WaveshareEPaper7P5InBV3::initialize() {
this->command(0x24); // LUTBB
for (count = 0; count < 42; count++)
this->data(lut_bb_7_i_n5_v2[count]);
this->data(lut_bb_7_i_n5_v2[count]); */

Check failure on line 1460 in esphome/components/waveshare_epaper/waveshare_epaper.cpp

View workflow job for this annotation

GitHub Actions / Run script/ci-custom

Trailing whitespace detected
/* this->command(0x10);
delay(2);
Expand Down Expand Up @@ -1494,7 +1494,7 @@ void HOT WaveshareEPaper7P5InBV3::display() {
this->command(0x10);
delay(2);
for (uint32_t i = 0; i < buf_len; i++) {
this->data(~(this->buffer_[i]));
this->data(0x00);
}

delay(2);
Expand All @@ -1510,7 +1510,7 @@ void HOT WaveshareEPaper7P5InBV3::display() {
this->command(0x13);
delay(2);
for (uint32_t i = 0; i < buf_len; i++) {
this->data(~(0x00));
this->data(~(this->buffer_[i]));
}

delay(100); // NOLINT
Expand Down

0 comments on commit 8d19bac

Please sign in to comment.