|
Noiasca Liquid Crystal
A light weight LCD Library to print UTF-8 and special characters easily.
|
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... | |
| size_t | write (uint8_t value) |
| writes a character to the LCD More... | |
MCP23017 I2C default class with special character support.
This class can be used with a MCP23017 - a 16 channel I2C portexpander.
|
inline |
constructor for a LCD on a MCP23017 with free pin assignement
This constructor uses the default character converter
| lcdAddr | the I2C address |
| rsPin | the RS pin |
| rwPin | the RW pin |
| enPin | the Enable pin |
| d4Pin | data pin 4 |
| d5Pin | data pin 5 |
| d6Pin | data pin 6 |
| d7Pin | data pin 7 |
| blPin | pin 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 a MCP23017 with free pin assignement
This constructor an indidvidual character converter
| lcdAddr | the I2C address |
| rsPin | the RS pin |
| rwPin | the RW pin |
| enPin | the Enable pin |
| d4Pin | data pin 4 |
| d5Pin | data pin 5 |
| d6Pin | data pin 6 |
| d7Pin | data pin 7 |
| blPin | pin 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 a MCP23017 with free pin assignement
This constructor accepts a Wire interface and the default converter
| i2cPort | the I2C port, i.e. Wire |
| lcdAddr | the I2C address |
| rsPin | the RS pin |
| rwPin | the RW pin |
| enPin | the Enable pin |
| d4Pin | data pin 4 |
| d5Pin | data pin 5 |
| d6Pin | data pin 6 |
| d7Pin | data pin 7 |
| blPin | pin 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 a MCP23017 with free pin assignement
This constructor accepts a Wire interface and a indidvidual character converter
| i2cPort | the I2C port, i.e. Wire |
| lcdAddr | the I2C address |
| rsPin | the RS pin |
| rwPin | the RW pin |
| enPin | the Enable pin |
| d4Pin | data pin 4 |
| d5Pin | data pin 5 |
| d6Pin | data pin 6 |
| d7Pin | data pin 7 |
| blPin | pin 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 |
writes a character to the LCD
This function uses the converter for UTF-8 characters.
| value | the character to be written to the display |