mirror of
https://github.com/esphome/esphome.git
synced 2024-12-02 13:24:15 +01:00
Remove apparently useless command 0x92 on display
This commit is contained in:
parent
b0f6eb9828
commit
18d96f4d34
@ -3165,14 +3165,13 @@ void WaveshareEPaper7In5BV2::configure() {
|
|||||||
|
|
||||||
void HOT WaveshareEPaper7In5BV2::display() {
|
void HOT WaveshareEPaper7In5BV2::display() {
|
||||||
uint32_t buf_len = this->get_buffer_length_();
|
uint32_t buf_len = this->get_buffer_length_();
|
||||||
// COMMAND DATA START TRANSMISSION NEW DATA
|
// COMMAND DATA START TRANSMISSION BLACK
|
||||||
this->command(0x10);
|
this->command(0x10);
|
||||||
for (uint32_t i = 0; i < buf_len / 2; i++) {
|
for (uint32_t i = 0; i < buf_len / 2; i++) {
|
||||||
this->data(this->buffer_[i]);
|
this->data(this->buffer_[i]);
|
||||||
}
|
}
|
||||||
this->command(0x92);
|
|
||||||
|
|
||||||
// COMMAND DATA START TRANSMISSION NEW DATA
|
// COMMAND DATA START TRANSMISSION RED
|
||||||
this->command(0x13);
|
this->command(0x13);
|
||||||
for (uint32_t i = buf_len / 2; i < buf_len; i++) {
|
for (uint32_t i = buf_len / 2; i < buf_len; i++) {
|
||||||
this->data(~this->buffer_[i]);
|
this->data(~this->buffer_[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user