7 static const char *
const TAG =
"lcd_gpio";
10 ESP_LOGCONFIG(TAG,
"Setting up GPIO LCD Display...");
20 for (uint8_t i = 0; i < (uint8_t) (this->
is_four_bit_mode() ? 4u : 8u); i++) {
27 ESP_LOGCONFIG(TAG,
"GPIO LCD Display:");
28 ESP_LOGCONFIG(TAG,
" Columns: %u, Rows: %u", this->
columns_, this->
rows_);
29 LOG_PIN(
" RS Pin: ", this->
rs_pin_);
30 LOG_PIN(
" RW Pin: ", this->
rw_pin_);
43 LOG_UPDATE_INTERVAL(
this);
46 for (uint8_t i = 0; i < n; i++)
47 this->
data_pins_[i]->digital_write(value & (1 << i));
virtual void digital_write(bool value)=0
bool is_four_bit_mode() override
void write_n_bits(uint8_t value, uint8_t n) override
void send(uint8_t value, bool rs) override
Implementation of SPI Controller mode.
void IRAM_ATTR HOT delayMicroseconds(uint32_t us)
void dump_config() override