Noiasca Liquid Crystal
A light weight LCD Library to print UTF-8 and special characters easily.
Public Member Functions | List of all members
LiquidCrystal_PCF8574_fast Class Reference

PCF8574 I2C fast class with special character support. More...

#include <lcd_PCF8574_fast.h>

Inherits LiquidCrystal_PCF8574_fast_base.

Public Member Functions

 LiquidCrystal_PCF8574_fast (uint8_t lcdAddr, uint8_t cols, uint8_t rows)
 constructor for a LCD on PCF8574 with faster communication More...
 
 LiquidCrystal_PCF8574_fast (uint8_t lcdAddr, uint8_t cols, uint8_t rows, CallBack funcPtr)
 constructor for a LCD on PCF8574 with faster communication More...
 
 LiquidCrystal_PCF8574_fast (TwoWire &i2cPort, uint8_t lcdAddr, uint8_t cols, uint8_t rows)
 constructor for a LCD on PCF8574 with faster communication More...
 
 LiquidCrystal_PCF8574_fast (TwoWire &i2cPort, uint8_t lcdAddr, uint8_t cols, uint8_t rows, CallBack funcPtr)
 constructor for a LCD on PCF8574 with faster communication More...
 
void flush ()
 sends the internal buffer to the LCD More...
 

Detailed Description

PCF8574 I2C fast class with special character support.


This class can be used with a PCF8574 - a 8 channel I2C portexpander. The pin assignment is fixed like used on the most common backpacks. There are two different versions of PCF8574: some have address 0x3F, some have address 0x27.

Constructor & Destructor Documentation

◆ LiquidCrystal_PCF8574_fast() [1/4]

LiquidCrystal_PCF8574_fast::LiquidCrystal_PCF8574_fast ( uint8_t  lcdAddr,
uint8_t  cols,
uint8_t  rows 
)
inline

constructor for a LCD on PCF8574 with faster communication

This constructor uses the default Wire and the default character converter

Parameters
lcdAddrthe I2C address
colsthe columns 8, 16, 20, 24 or 40
rowsthe rows: 1, 2, or 4

◆ LiquidCrystal_PCF8574_fast() [2/4]

LiquidCrystal_PCF8574_fast::LiquidCrystal_PCF8574_fast ( uint8_t  lcdAddr,
uint8_t  cols,
uint8_t  rows,
CallBack  funcPtr 
)
inline

constructor for a LCD on PCF8574 with faster communication

This constructor uses the default Wire and a indidvidual character converter

Parameters
lcdAddrthe I2C address
colsthe columns 8, 16, 20, 24 or 40
rowsthe rows: 1, 2, or 4
funcPtra callback to convert UTF-8 characters

◆ LiquidCrystal_PCF8574_fast() [3/4]

LiquidCrystal_PCF8574_fast::LiquidCrystal_PCF8574_fast ( TwoWire &  i2cPort,
uint8_t  lcdAddr,
uint8_t  cols,
uint8_t  rows 
)
inline

constructor for a LCD on PCF8574 with faster communication

This constructor accepts a Wire interface and uses the default character converter

Parameters
i2cPortthe I2C port, i.e. Wire
lcdAddrthe I2C address
colsthe columns 8, 16, 20, 24 or 40
rowsthe rows: 1, 2, or 4

◆ LiquidCrystal_PCF8574_fast() [4/4]

LiquidCrystal_PCF8574_fast::LiquidCrystal_PCF8574_fast ( TwoWire &  i2cPort,
uint8_t  lcdAddr,
uint8_t  cols,
uint8_t  rows,
CallBack  funcPtr 
)
inline

constructor for a LCD on PCF8574 with faster communication

This constructor accepts a Wire interface and a indidvidual character converter

Parameters
i2cPortthe I2C port, i.e. Wire
lcdAddrthe I2C address
colsthe columns 8, 16, 20, 24 or 40
rowsthe rows: 1, 2, or 4
funcPtra callback to convert UTF-8 characters

Member Function Documentation

◆ flush()

void LiquidCrystal_PCF8574_fast::flush ( )
inline

sends the internal buffer to the LCD

for usual this function is called by the NoiascaBufferPrint at the end of a print