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

MCP23017 I2C default class with special character support. More...

#include <lcd_MCP23017.h>

Inherits LiquidCrystal_MCP23017_custompin_base.

Public Member Functions

 LiquidCrystal_MCP23017_custompin (uint8_t lcdAddr, uint8_t rsPin, uint8_t rwPin, 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 a MCP23017 with free pin assignement More...
 
 LiquidCrystal_MCP23017_custompin (uint8_t lcdAddr, uint8_t rsPin, uint8_t rwPin, 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 a MCP23017 with free pin assignement More...
 
 LiquidCrystal_MCP23017_custompin (TwoWire &i2cPort, uint8_t lcdAddr, uint8_t rsPin, uint8_t rwPin, 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 a MCP23017 with free pin assignement More...
 
 LiquidCrystal_MCP23017_custompin (TwoWire &i2cPort, uint8_t lcdAddr, uint8_t rsPin, uint8_t rwPin, 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 a MCP23017 with free pin assignement More...
 

Detailed Description

MCP23017 I2C default class with special character support.

This class can be used with a MCP23017 - a 16 channel I2C portexpander.

Constructor & Destructor Documentation

◆ LiquidCrystal_MCP23017_custompin() [1/4]

LiquidCrystal_MCP23017_custompin::LiquidCrystal_MCP23017_custompin ( uint8_t  lcdAddr,
uint8_t  rsPin,
uint8_t  rwPin,
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 
)
inline

constructor for a LCD on a MCP23017 with free pin assignement

This constructor uses the default character converter

Parameters
lcdAddrthe I2C address
rsPinthe RS pin
rwPinthe RW pin
enPinthe Enable pin
d4Pindata pin 4
d5Pindata pin 5
d6Pindata pin 6
d7Pindata pin 7
blPinpin for backlight
blTypeset to POSITIVE or NEGATIVE
colsthe columns 8, 16, 20, 24 or 40
rowsthe rows: 1, 2, or 4

◆ LiquidCrystal_MCP23017_custompin() [2/4]

LiquidCrystal_MCP23017_custompin::LiquidCrystal_MCP23017_custompin ( uint8_t  lcdAddr,
uint8_t  rsPin,
uint8_t  rwPin,
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 
)
inline

constructor for a LCD on a MCP23017 with free pin assignement

This constructor an indidvidual character converter

Parameters
lcdAddrthe I2C address
rsPinthe RS pin
rwPinthe RW pin
enPinthe Enable pin
d4Pindata pin 4
d5Pindata pin 5
d6Pindata pin 6
d7Pindata pin 7
blPinpin for backlight
blTypeset to POSITIVE or NEGATIVE
colsthe columns 8, 16, 20, 24 or 40
rowsthe rows: 1, 2, or 4
funcPtra callback to convert UTF-8 characters

◆ LiquidCrystal_MCP23017_custompin() [3/4]

LiquidCrystal_MCP23017_custompin::LiquidCrystal_MCP23017_custompin ( TwoWire &  i2cPort,
uint8_t  lcdAddr,
uint8_t  rsPin,
uint8_t  rwPin,
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 
)
inline

constructor for a LCD on a MCP23017 with free pin assignement

This constructor accepts a Wire interface and the default converter

Parameters
i2cPortthe I2C port, i.e. Wire
lcdAddrthe I2C address
rsPinthe RS pin
rwPinthe RW pin
enPinthe Enable pin
d4Pindata pin 4
d5Pindata pin 5
d6Pindata pin 6
d7Pindata pin 7
blPinpin for backlight
blTypeset to POSITIVE or NEGATIVE
colsthe columns 8, 16, 20, 24 or 40
rowsthe rows: 1, 2, or 4

◆ LiquidCrystal_MCP23017_custompin() [4/4]

LiquidCrystal_MCP23017_custompin::LiquidCrystal_MCP23017_custompin ( TwoWire &  i2cPort,
uint8_t  lcdAddr,
uint8_t  rsPin,
uint8_t  rwPin,
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 
)
inline

constructor for a LCD on a MCP23017 with free pin assignement

This constructor accepts a Wire interface and a indidvidual character converter

Parameters
i2cPortthe I2C port, i.e. Wire
lcdAddrthe I2C address
rsPinthe RS pin
rwPinthe RW pin
enPinthe Enable pin
d4Pindata pin 4
d5Pindata pin 5
d6Pindata pin 6
d7Pindata pin 7
blPinpin for backlight
blTypeset to POSITIVE or NEGATIVE
colsthe columns 8, 16, 20, 24 or 40
rowsthe rows: 1, 2, or 4
funcPtra callback to convert UTF-8 characters