From 18d96f4d34bd1adcb769fb43b169c73d4a2613ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Grol=C3=A9at?= Date: Thu, 18 Jan 2024 19:54:08 +0100 Subject: [PATCH] Remove apparently useless command 0x92 on display --- esphome/components/waveshare_epaper/waveshare_epaper.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/esphome/components/waveshare_epaper/waveshare_epaper.cpp b/esphome/components/waveshare_epaper/waveshare_epaper.cpp index d0f46df92b..6482d53311 100644 --- a/esphome/components/waveshare_epaper/waveshare_epaper.cpp +++ b/esphome/components/waveshare_epaper/waveshare_epaper.cpp @@ -3165,14 +3165,13 @@ void WaveshareEPaper7In5BV2::configure() { void HOT WaveshareEPaper7In5BV2::display() { uint32_t buf_len = this->get_buffer_length_(); - // COMMAND DATA START TRANSMISSION NEW DATA + // COMMAND DATA START TRANSMISSION BLACK this->command(0x10); for (uint32_t i = 0; i < buf_len / 2; i++) { this->data(this->buffer_[i]); } - this->command(0x92); - // COMMAND DATA START TRANSMISSION NEW DATA + // COMMAND DATA START TRANSMISSION RED this->command(0x13); for (uint32_t i = buf_len / 2; i < buf_len; i++) { this->data(~this->buffer_[i]);