18 #ifndef LCD_ADAPTER_PP7W_H 19 #define LCD_ADAPTER_PP7W_H 66 template<BOARD::pin_t D0_PIN,
99 m_d0.write(data & 0x01);
100 m_d1.write(data & 0x02);
101 m_d2.write(data & 0x04);
102 m_d3.write(data & 0x08);
114 m_d0.write(data & 0x10);
115 m_d1.write(data & 0x20);
116 m_d2.write(data & 0x40);
117 m_d3.write(data & 0x80);
120 m_d0.write(data & 0x01);
121 m_d1.write(data & 0x02);
122 m_d2.write(data & 0x04);
123 m_d3.write(data & 0x08);
virtual void set_mode(uint8_t flag)
GPIO< RS_PIN > m_rs
Register select (0/instruction, 1/data).
GPIO< D1_PIN > m_d1
Data pin; d1.
static const uint16_t SHORT_EXEC_TIME
GPIO< BT_PIN > m_bt
Back-light control (0/on, 1/off).
virtual void set_backlight(uint8_t flag)
GPIO< D2_PIN > m_d2
Data pin; d2.
virtual void write8b(uint8_t data)
virtual void write4b(uint8_t data)
GPIO< EN_PIN > m_en
Starts data read/write.
GPIO< D3_PIN > m_d3
Data pin; d3.
GPIO< D0_PIN > m_d0
Data pin; d0.