Arduino-LCD
LCD library for Arduino
HD44780::Adapter Class Referenceabstract

#include <HD44780.h>

Inheritance diagram for HD44780::Adapter:
Inheritance graph
Collaboration diagram for HD44780::Adapter:
Collaboration graph

Public Member Functions

virtual bool setup ()
 
virtual void write4b (uint8_t data)=0
 
virtual void write8b (uint8_t data)
 
virtual void write8n (const void *buf, size_t size)
 
virtual void set_mode (uint8_t flag)=0
 
virtual void set_backlight (uint8_t flag)=0
 

Detailed Description

Abstract HD44780 Adapter class; isolate communication specific functions and allow access over parallel and serial interfaces.

Definition at line 40 of file HD44780.h.

Member Function Documentation

virtual void HD44780::Adapter::set_mode ( uint8_t  flag)
pure virtual
virtual bool HD44780::Adapter::setup ( )
inlinevirtual

Initiate IO port. Called by HD44780::begin(). Should return true(1) for 8-bit mode otherwise false for 4-bit mode. Default is 4-bit mode.

Returns
bool.

Reimplemented in LCD::SR4W< SDA_PIN, SCL_PIN, EN_PIN, BT_PIN >, LCD::SR3W< SDA_PIN, SCL_PIN, EN_PIN >, LCD::DFRobot_IIC, LCD::MJKDZ, and LCD::Debug.

Definition at line 48 of file HD44780.h.

virtual void HD44780::Adapter::write8b ( uint8_t  data)
inlinevirtual
virtual void HD44780::Adapter::write8n ( const void *  buf,
size_t  size 
)
inlinevirtual

Write character/command buffer to display.

Parameters
[in]bufpointer to buffer.
[in]sizenumber of bytes in buffer.

Reimplemented in LCD::DFRobot_IIC, and LCD::MJKDZ.

Definition at line 77 of file HD44780.h.


The documentation for this class was generated from the following file: