72 const uint8_t* bp = (
const uint8_t*) buf;
85 if (
m_rs == flag)
return;
uint8_t m_dirty
Mark register select change required.
virtual void write4b(uint8_t data)
virtual void set_backlight(uint8_t flag)
virtual void set_mode(uint8_t flag)
void write(int value) const
uint8_t m_rs
Register select (0/instruction, 1/data).
OutputPin m_en
Starts data read/write.
static const uint16_t SHORT_EXEC_TIME
OutputPin m_scl
Serial clock.
Sets interface data length, line and font.
virtual void write8n(const void *buf, size_t size)
ERM1602_5(Board::DigitalPin sda=Board::D7, Board::DigitalPin scl=Board::D6, Board::DigitalPin en=Board::D5, Board::DigitalPin bt=Board::D4)
OutputPin m_bt
Back-light control (0/on, 1/off).
OutputPin m_sda
Serial data output.
virtual void write8b(uint8_t data)