diff --git a/esphome/components/st7735/st7735.cpp b/esphome/components/st7735/st7735.cpp index 2a3d8fc903..5cd79da2cb 100644 --- a/esphome/components/st7735/st7735.cpp +++ b/esphome/components/st7735/st7735.cpp @@ -407,7 +407,7 @@ void HOT ST7735::senddata_(const uint8_t *data_bytes, uint8_t num_data_bytes) { this->cs_->digital_write(false); this->enable(); for (uint8_t i = 0; i < num_data_bytes; i++) { - this->transfer_byte(pgm_read_byte(data_bytes++)); // write byte - SPI library + this->write_byte(pgm_read_byte(data_bytes++)); // write byte - SPI library } this->cs_->digital_write(true); this->disable();