21 #ifndef COSA_SAINSMART_LCD2004_HH 22 #define COSA_SAINSMART_LCD2004_HH 68 virtual void write4b(uint8_t data);
75 virtual void write8b(uint8_t data);
83 virtual void write8n(
const void* buf,
size_t size);
virtual void write8b(uint8_t data)
virtual void write8n(const void *buf, size_t size)
uint8_t en
Enable pulse (P2).
uint8_t rw
Read/Write (P1).
virtual void set_mode(uint8_t flag)
SainSmart_LCD2004(uint8_t subaddr=7)
port_t m_port
Port setting.
static const uint8_t TMP_MAX
uint8_t rs
Command/Data select (P0).
virtual void set_backlight(uint8_t flag)
virtual void write4b(uint8_t data)
uint8_t bt
Back-light (P3).
uint8_t as_uint8
Unsigned byte access.