template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN, BOARD::pin_t BT_PIN>
class LCD::SR4W< SDA_PIN, SCL_PIN, EN_PIN, BT_PIN >
Definition at line 93 of file SR4W.h.
template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN, BOARD::pin_t BT_PIN>
Construct HD44780 4-wire/8-bit serial port connected to given data (rs), clock, enable and backlight control pins.
Definition at line 99 of file SR4W.h.
template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN, BOARD::pin_t BT_PIN>
virtual void LCD::SR4W< SDA_PIN, SCL_PIN, EN_PIN, BT_PIN >::set_backlight |
( |
uint8_t |
flag | ) |
|
|
inlinevirtual |
template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN, BOARD::pin_t BT_PIN>
virtual void LCD::SR4W< SDA_PIN, SCL_PIN, EN_PIN, BT_PIN >::set_mode |
( |
uint8_t |
flag | ) |
|
|
inlinevirtual |
Set instruction/data mode using given rs pin; zero for instruction, non-zero for data mode.
- Parameters
-
Implements HD44780::Adapter.
Definition at line 155 of file SR4W.h.
template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN, BOARD::pin_t BT_PIN>
virtual bool LCD::SR4W< SDA_PIN, SCL_PIN, EN_PIN, BT_PIN >::setup |
( |
| ) |
|
|
inlinevirtual |
Initiate port for 8-bit serial mode.
- Returns
- true(1).
Reimplemented from HD44780::Adapter.
Definition at line 114 of file SR4W.h.
template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN, BOARD::pin_t BT_PIN>
virtual void LCD::SR4W< SDA_PIN, SCL_PIN, EN_PIN, BT_PIN >::write4b |
( |
uint8_t |
data | ) |
|
|
inlinevirtual |
Write LSB nibble to display using serial port.
- Parameters
-
Implements HD44780::Adapter.
Definition at line 124 of file SR4W.h.
template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN, BOARD::pin_t BT_PIN>
virtual void LCD::SR4W< SDA_PIN, SCL_PIN, EN_PIN, BT_PIN >::write8b |
( |
uint8_t |
data | ) |
|
|
inlinevirtual |