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,
"Running setup");
25 "PCF8574 LCD Display:\n"
26 " Columns: %u, Rows: %u",
29 LOG_UPDATE_INTERVAL(
this);
31 ESP_LOGE(TAG, ESP_LOG_MSG_COMM_FAIL);
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)