#include <MJKDZ.h>
Definition at line 48 of file MJKDZ.h.
LCD::MJKDZ::MJKDZ |
( |
TWI & |
twi, |
|
|
uint8_t |
subaddr = 7 |
|
) |
| |
|
inline |
Construct HD44780 adapter when using the MJKDZ I2C/TWI I/O expander with given sub-address (A0..A2).
- Parameters
-
[in] | subaddr | sub-address (0..7, default 7). |
Definition at line 55 of file MJKDZ.h.
virtual void LCD::MJKDZ::set_backlight |
( |
uint8_t |
flag | ) |
|
|
inlinevirtual |
virtual void LCD::MJKDZ::set_mode |
( |
uint8_t |
flag | ) |
|
|
inlinevirtual |
Set instruction/data mode; zero for instruction, non-zero for data mode.
- Parameters
-
Implements HD44780::Adapter.
Definition at line 145 of file MJKDZ.h.
virtual bool LCD::MJKDZ::setup |
( |
| ) |
|
|
inlinevirtual |
Initiate TWI interface. Returns false.
- Returns
- bool.
Reimplemented from HD44780::Adapter.
Definition at line 65 of file MJKDZ.h.
virtual void LCD::MJKDZ::write4b |
( |
uint8_t |
data | ) |
|
|
inlinevirtual |
virtual void LCD::MJKDZ::write8b |
( |
uint8_t |
data | ) |
|
|
inlinevirtual |
virtual void LCD::MJKDZ::write8n |
( |
const void * |
buf, |
|
|
size_t |
size |
|
) |
| |
|
inlinevirtual |
Write character buffer to display.
- Parameters
-
[in] | buf | pointer to buffer. |
[in] | size | number of bytes in buffer. |
Reimplemented from HD44780::Adapter.
Definition at line 114 of file MJKDZ.h.
Port setting.
Definition at line 181 of file MJKDZ.h.
The documentation for this class was generated from the following file: