#include <GY_IICLCD.h>
Definition at line 49 of file GY_IICLCD.h.
LCD::GY_IICLCD::GY_IICLCD |
( |
TWI & |
twi, |
|
|
uint8_t |
subaddr = 0 |
|
) |
| |
|
inline |
Construct HD44780 IO port handler using the GY-IICLCD I2C/TWI I/O expander with given sub-address (A0..A2).
- Parameters
-
[in] | twi | bus manager. |
[in] | subaddr | sub-address (0..7, default 0). |
Definition at line 57 of file GY_IICLCD.h.
virtual void LCD::MJKDZ::set_backlight |
( |
uint8_t |
flag | ) |
|
|
inlinevirtualinherited |
virtual void LCD::MJKDZ::set_mode |
( |
uint8_t |
flag | ) |
|
|
inlinevirtualinherited |
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 |
( |
| ) |
|
|
inlinevirtualinherited |
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 | ) |
|
|
inlinevirtualinherited |
virtual void LCD::MJKDZ::write8b |
( |
uint8_t |
data | ) |
|
|
inlinevirtualinherited |
virtual void LCD::MJKDZ::write8n |
( |
const void * |
buf, |
|
|
size_t |
size |
|
) |
| |
|
inlinevirtualinherited |
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: