Arduino-LCD
LCD library for Arduino
|
#include <SR3W.h>
Classes | |
union | port_t |
Public Member Functions | |
SR3W () | |
virtual bool | setup () |
virtual void | write4b (uint8_t data) |
virtual void | write8b (uint8_t data) |
virtual void | set_mode (uint8_t flag) |
virtual void | set_backlight (uint8_t flag) |
virtual void | write8n (const void *buf, size_t size) |
Protected Attributes | |
port_t | m_port |
Port setting. More... | |
GPIO< SDA_PIN > | m_sda |
Serial data output. More... | |
GPIO< SCL_PIN > | m_scl |
Serial clock. More... | |
GPIO< EN_PIN > | m_en |
Starts data read/write. More... | |
Static Protected Attributes | |
static const uint16_t | SHORT_EXEC_TIME = 32 |
|
inlinevirtual |
|
inlinevirtual |
Set instruction/data mode using given rs pin; zero for instruction, non-zero for data mode.
[in] | flag. |
Implements HD44780::Adapter.
|
inlinevirtual |
|
inlinevirtual |
Write 4-bit data to display using shift register.
[in] | data | (4b) to write. |
Implements HD44780::Adapter.
|
inlinevirtual |
Write byte (8bit) to display.
[in] | data | (8b) to write. |
Reimplemented from HD44780::Adapter.
|
inlinevirtualinherited |
Write character/command buffer to display.
[in] | buf | pointer to buffer. |
[in] | size | number of bytes in buffer. |
Reimplemented in LCD::DFRobot_IIC, and LCD::MJKDZ.
|
protected |
|
protected |
|
protected |
|
staticprotected |