Noiasca Liquid Crystal
A light weight LCD Library to print UTF-8 and special characters easily.
|
PCF8574 I2C class for 4004 displays with special character support. More...
#include <lcd_PCF8574.h>
Public Member Functions | |
LiquidCrystal_PCF8574_4004 (uint8_t lcdAddr, uint8_t rsPin, uint8_t enPin, uint8_t en2Pin, uint8_t d4Pin, uint8_t d5Pin, uint8_t d6Pin, uint8_t d7Pin, uint8_t blPin, t_backlightPol blType, uint8_t cols, uint8_t rows, CallBack funcPtr=convert) | |
constructor for a 4004 LCD on PCF8574 More... | |
LiquidCrystal_PCF8574_4004 (TwoWire &i2cPort, uint8_t lcdAddr, uint8_t rsPin, uint8_t enPin, uint8_t en2Pin, uint8_t d4Pin, uint8_t d5Pin, uint8_t d6Pin, uint8_t d7Pin, uint8_t blPin, t_backlightPol blType, uint8_t cols, uint8_t rows, CallBack funcPtr=convert) | |
constructor for a 4004 LCD on PCF8574 More... | |
![]() | |
LiquidCrystal_PCF8574_custompin (uint8_t lcdAddr, uint8_t rsPin, uint8_t, uint8_t enPin, uint8_t d4Pin, uint8_t d5Pin, uint8_t d6Pin, uint8_t d7Pin, uint8_t blPin, t_backlightPol blType, uint8_t cols, uint8_t rows) | |
constructor for a LCD on PCF8574 with free pin assignement More... | |
LiquidCrystal_PCF8574_custompin (uint8_t lcdAddr, uint8_t rsPin, uint8_t, uint8_t enPin, uint8_t d4Pin, uint8_t d5Pin, uint8_t d6Pin, uint8_t d7Pin, uint8_t blPin, t_backlightPol blType, uint8_t cols, uint8_t rows, CallBack funcPtr) | |
constructor for a LCD on PCF8574 with free pin assignement More... | |
LiquidCrystal_PCF8574_custompin (TwoWire &i2cPort, uint8_t lcdAddr, uint8_t rsPin, uint8_t, uint8_t enPin, uint8_t d4Pin, uint8_t d5Pin, uint8_t d6Pin, uint8_t d7Pin, uint8_t blPin, t_backlightPol blType, uint8_t cols, uint8_t rows) | |
constructor for a LCD on PCF8574 with free pin assignement More... | |
LiquidCrystal_PCF8574_custompin (TwoWire &i2cPort, uint8_t lcdAddr, uint8_t rsPin, uint8_t, uint8_t enPin, uint8_t d4Pin, uint8_t d5Pin, uint8_t d6Pin, uint8_t d7Pin, uint8_t blPin, t_backlightPol blType, uint8_t cols, uint8_t rows, CallBack funcPtr) | |
constructor for a LCD on PCF8574 with free pin assignement More... | |
![]() | |
LiquidCrystal_PCF8574 (uint8_t lcd_Addr, uint8_t lcd_cols, uint8_t lcd_rows) | |
constructor for a LCD on PCF8574 with faster communication More... | |
LiquidCrystal_PCF8574 (uint8_t lcd_Addr, uint8_t lcd_cols, uint8_t lcd_rows, CallBack funcPtr) | |
constructor for a LCD on PCF8574 More... | |
LiquidCrystal_PCF8574 (TwoWire &i2cPort, uint8_t lcd_Addr, uint8_t lcd_cols, uint8_t lcd_rows) | |
constructor for a LCD on PCF8574 with faster communication More... | |
LiquidCrystal_PCF8574 (TwoWire &i2cPort, uint8_t lcd_Addr, uint8_t lcd_cols, uint8_t lcd_rows, CallBack funcPtr) | |
constructor for a LCD on PCF8574 More... | |
size_t | write (uint8_t value) |
writes a character to the LCD More... | |
PCF8574 I2C class for 4004 displays with special character support.
This class can be used with a PCF8574 - a 8 channel I2C portexpander. no pin is left for RW. Connect RW to ground.
|
inline |
constructor for a 4004 LCD on PCF8574
This constructor accepts optional an indidvidual character converter
lcdAddr | the I2C address |
rsPin | the RS pin on PCF8574 |
enPin | the first Enable pin |
en2Pin | the second Enable pin |
d4Pin | data pin 4 |
d5Pin | data pin 5 |
d6Pin | data pin 6 |
d7Pin | data pin 7 |
blPin | pin on PCF8574 for backlight |
blType | set to POSITIVE or NEGATIVE |
cols | the columns 8, 16, 20, 24 or 40 |
rows | the rows: 1, 2, or 4 |
funcPtr | a callback to convert UTF-8 characters |
|
inline |
constructor for a 4004 LCD on PCF8574
This constructor accepts a Wire interface and an indidvidual character converter. All 8 IOs of the PCF8574 will be used. No free pin for RW which must be set to GND by hardware.
i2cPort | the I2C port, e.g. Wire |
lcdAddr | the I2C address |
rsPin | the RS pin on PCF8574 |
enPin | the first Enable pin |
en2Pin | the second Enable pin |
d4Pin | data pin 4 |
d5Pin | data pin 5 |
d6Pin | data pin 6 |
d7Pin | data pin 7 |
blPin | pin on PCF8574 for backlight |
blType | set to POSITIVE or NEGATIVE |
cols | the columns 8, 16, 20, 24 or 40 |
rows | the rows: 1, 2, or 4 |
funcPtr | a callback to convert UTF-8 characters |