8static const char *
const TAG =
"lcd_pcf8574";
10static const uint8_t LCD_DISPLAY_BACKLIGHT_ON = 0x08;
11static const uint8_t LCD_DISPLAY_BACKLIGHT_OFF = 0x00;
14 ESP_LOGCONFIG(TAG,
"Setting up PCF8574 LCD Display...");
24 ESP_LOGCONFIG(TAG,
"PCF8574 LCD Display:");
25 ESP_LOGCONFIG(TAG,
" Columns: %u, Rows: %u", this->
columns_, this->
rows_);
27 LOG_UPDATE_INTERVAL(
this);
29 ESP_LOGE(TAG,
"Communication with LCD Display failed!");
virtual void mark_failed()
Mark this component as failed.
bool write_bytes(uint8_t a_register, const uint8_t *data, uint8_t len, bool stop=true)
void dump_config() override
void send(uint8_t value, bool rs) override
void write_n_bits(uint8_t value, uint8_t n) override
Providing packet encoding functions for exchanging data with a remote host.
void IRAM_ATTR HOT delayMicroseconds(uint32_t us)