6 namespace lcd_pcf8574 {
8 static const char *
const TAG =
"lcd_pcf8574";
10 static const uint8_t LCD_DISPLAY_BACKLIGHT_ON = 0x08;
11 static 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!");
void send(uint8_t value, bool rs) override
virtual void mark_failed()
Mark this component as failed.
void write_n_bits(uint8_t value, uint8_t n) override
Implementation of SPI Controller mode.
void IRAM_ATTR HOT delayMicroseconds(uint32_t us)
void dump_config() override
bool write_bytes(uint8_t a_register, const uint8_t *data, uint8_t len, bool stop=true)