7static const char *
const TAG =
"st7567_spi";
20 LOG_DISPLAY(
"",
"SPI ST7567",
this);
21 ESP_LOGCONFIG(TAG,
" Model: %s", this->
model_str_());
22 LOG_PIN(
" CS Pin: ", this->
cs_);
23 LOG_PIN(
" DC Pin: ", this->
dc_pin_);
25 ESP_LOGCONFIG(TAG,
" Mirror X: %s", YESNO(this->
mirror_x_));
26 ESP_LOGCONFIG(TAG,
" Mirror Y: %s", YESNO(this->
mirror_y_));
27 ESP_LOGCONFIG(TAG,
" Invert Colors: %s", YESNO(this->
invert_colors_));
28 LOG_UPDATE_INTERVAL(
this);
53 this->
command(esphome::st7567_base::ST7567_PAGE_ADDR +
y);
54 this->
command(esphome::st7567_base::ST7567_COL_ADDR_H);
virtual void digital_write(bool value)=0
void spi_setup() override
void write_byte(uint8_t data)
void write_array(const uint8_t *data, size_t length)
const char * model_str_()
int get_height_internal() override
int get_width_internal() override
void write_display_data() override
void command(uint8_t value) override
void dump_config() override
Providing packet encoding functions for exchanging data with a remote host.
void IRAM_ATTR HOT delay(uint32_t ms)