Noiasca Liquid Crystal
A light weight LCD Library to print UTF-8 and special characters easily.
|
PCF8574 I2C class with special character support. More...
#include <lcd_PCF8574.h>
Public Member Functions | |
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 with special character support.
This class can be used with a PCF8574 - a 8 channel I2C portexpander. Use this class if you need a custom pin assignment There are two different versions of PCF8574: some have address 0x3F to 0x30, some have address 0x27 to 0x20.
|
inline |
constructor for a LCD on PCF8574 with free pin assignement
This constructor accepts the default Wire interface and default character converter.
lcdAddr | the I2C address |
rsPin | the RS pin on PCF8574 |
enPin | the 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 |
|
inline |
constructor for a LCD on PCF8574 with free pin assignement
This constructor accepts an indidvidual character converter
lcdAddr | the I2C address |
rsPin | the RS pin on PCF8574 |
enPin | the 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 LCD on PCF8574 with free pin assignement
This constructor accepts a Wire interface but uses a default character converter
i2cPort | the I2C port, e.g. Wire |
lcdAddr | the I2C address |
rsPin | the RS pin on PCF8574 |
enPin | the 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 |
|
inline |
constructor for a LCD on PCF8574 with free pin assignement
This constructor accepts a Wire interface and a indidvidual character converter
i2cPort | the I2C port, e.g. Wire |
lcdAddr | the I2C address |
rsPin | the RS pin on PCF8574 |
enPin | the 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 |