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

#include <lcd_i2c.h>

Inheritance diagram for LiquidCrystal_I2C_base:
LiquidCrystal_PCF8574_base LiquidCrystal_dummy

Public Member Functions

 LiquidCrystal_I2C_base (uint8_t lcdAddr, uint8_t cols, uint8_t rows)
 
- Public Member Functions inherited from LiquidCrystal_PCF8574_base
 LiquidCrystal_PCF8574_base (uint8_t lcdAddr, uint8_t cols, uint8_t rows)
 
 LiquidCrystal_PCF8574_base (TwoWire &i2cPort, uint8_t lcdAddr, uint8_t cols, uint8_t rows)
 
size_t write (uint8_t value)
 writes a character to the LCD More...
 
void hwInit ()
 
void begin ()
 
void begin (uint8_t cols, uint8_t rows, uint8_t charsize=LCD_5x8DOTS)
 
void init ()
 
int setBacklight (uint8_t value)
 switch backlight on or off More...
 
int backlight ()
 switch backlight on More...
 
int noBacklight ()
 switch backlight off More...
 
void setLcdAddr (uint8_t lcdAddr)
 
- Public Member Functions inherited from LiquidCrystal_dummy
 LiquidCrystal_dummy (uint8_t, uint8_t)
 
void setDelay (uint8_t, char)
 
size_t writeOld (uint8_t)
 unmodified version of write More...
 
void command (uint8_t)
 Send a command to the display, for commands not supported by the library (LCD API) More...
 
void clear ()
 Clear the display and place cursor at 0,0 (LCD API) More...
 
void home ()
 Home the cursor to 0,0 and leave displayed characters (LCD API) More...
 
void setCursor (uint8_t, uint8_t)
 Where Row 0-MAXLINEs, and Col 0-MAXCOLUMNS. More...
 
void cursor ()
 Turn the block cursor on. More...
 
void cursor_on ()
 
void noCursor ()
 Turn the block cursor off. More...
 
void cursor_off ()
 
void blink ()
 Turn on the blinking underline cursor (LCD API blink_on) More...
 
void blink_on ()
 
void noBlink ()
 Turn off the blinking underline cursor (LCD blink_off) More...
 
void blink_off ()
 
void setContrast (int)
 
void on ()
 Turn the LCD display on (LCD API optional) More...
 
void off ()
 Turn the LCD display off (LCD API optional) More...
 
void createChar (const uint8_t, const uint8_t[])
 Load up a custom character (LCD API extend) More...
 
void load_custom_character (const uint8_t Char_Num, const uint8_t Rows[])
 
void createChar_P (const uint8_t, const uint8_t *)
 Load up a custom character from PROGMEM. More...
 
void createUml ()
 creates 3 German Umlauts using special characters 5, 6, and 7 More...
 
void setFont (uint8_t value=0)
 sets the used font More...
 

Additional Inherited Members

- Protected Member Functions inherited from LiquidCrystal_PCF8574_base
void send (uint8_t value, uint8_t rs, uint8_t rw=rwWrite)
 
virtual void write4bits (uint8_t value, uint8_t rs=rsIR, uint8_t rw=rwWrite)
 
virtual void send (uint8_t, uint8_t, uint8_t=rwWrite)
 
- Protected Attributes inherited from LiquidCrystal_PCF8574_base
TwoWire * i2cPort
 
uint8_t lcdAddr
 
uint8_t backlightState
 
- Protected Attributes inherited from LiquidCrystal_dummy
const uint8_t waitshort = 37
 
const uint16_t waitlong = 1500
 
uint8_t rowStartingAddress [4] {0x00, 0x40, 0x14, 0x54}
 
const uint8_t cols
 
const uint8_t rows
 
uint8_t currentRow = 255
 
uint8_t entrymodesetFlag
 
uint8_t displaycontrolFlag = displaycontrol_on
 
uint32_t special = 0
 
- Static Protected Attributes inherited from LiquidCrystal_PCF8574_base
static const uint8_t rsPin = 0b00000001
 
static const uint8_t enPin = 0b00000100
 
static const uint8_t blPin = 0b00001000
 
- Static Protected Attributes inherited from LiquidCrystal_dummy
static const uint8_t cleardisplay = 0x01
 
static const uint8_t returnhome = 0x02
 
static const uint8_t entrymodeset = 0x04
 
static const uint8_t displaycontrol = 0x08
 
static const uint8_t cursorshift = 0x10
 
static const uint8_t functionset = 0x20
 
static const uint8_t setcgramaddress = 0x40
 
static const uint8_t setddramaddress = 0x80
 
static const uint8_t entrymode_shift = 0x01
 
static const uint8_t entrymode_increment = 0x02
 
static const uint8_t displaycontrol_blink = 0x01
 
static const uint8_t displaycontrol_cursor = 0x02
 
static const uint8_t displaycontrol_on = 0x04
 
static const uint8_t cursorshift_right = 0x04
 
static const uint8_t cursorshift_displayshift = 0x08
 
static const uint8_t functionset_font = 0x04
 
static const uint8_t functionset_lines = 0x08
 
static const uint8_t functionset_8bit = 0x10
 
static const byte rsIR = 0
 
static const byte rsDR = 1
 
static const byte rwWrite = 0
 
static const byte rwRead = 1
 

Constructor & Destructor Documentation

◆ LiquidCrystal_I2C_base()

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