Arduino: The Noiasca Liquid Crystal with Language Support
This page should give an overview of the Noiasca Liquid Crystal, the supported devices and the different constructors.
The library supports several hardware implementations. As it makes no sense to make "one fits all" class I splitted the library in lot of single classes which different constructors. Even if the implementation of some methods might be different, the API - the application programm interface - of the different classes are as consistant as possible. Furthermore I tried to achieve some "backward" compatibility to some common HD44780 libraries like Liquid_Crystal, Liquid_Crystal_I2C, new Liquid Crystal / fmbadia, Adafruit_Liquid_Crystal, Liquid Crystal RUS, Liquid Crystal 440 to name a few.
The constructer of the class determines the hardware implementation (e.g. the connection type by an expander).
The initializer list (the "parameters" on class creation) define the basic unchangeable parameters.
Example it makes absolute no sense to change the column or row definition during runtime - it is fixed by the hardware anyway. It will not change during runtime. A "lcd.begin(2, 16)" call in setup will have no effect on the display layout. The parameters are just accepted for compatibility reasons but will be ignored. The column and row definition is already done when you create the instance of the object.
what | class | inherits from |
---|---|---|
parallel 4bit | LiquidCrystal_dummy | |
I2C PCF8574 (4bit) HW Implementation | LiquidCrystal_dummy | |
I2C PCF8574 (4bit) custompin | _custompin | lcd_i2c_base (besser die lcd_i2c) |
SPI MCP23S08 (4bit) | LiquidCrystal_dummy | |
Native I2C (8bit) | LiquidCrystal_dummy | |
RGB (Groove, RGB) | LiquidCrystal_dummy | |
parallel 4bit with broken/faulty backlight circuit (tbd) |
LiquidCrystal_dummy | |
I2C MCP23017 (tbd) |
LiquidCrystal_dummy | |
440, 40x4 displays (tbd) |
LiquidCrystal_dummy | |
Modbus Master sender | not in the LCD library but included in the Modbus Slave Library | LiquidCrystal_dummy |
I2C PCF8574 fast | LiquidCrystal_PCF8574_fast_base LiquidCrystal_PCF8574_fast |
LiquidCrystal_dummy |
Supported Hardware
what | speciality | inherits from |
---|---|---|
HD44780 A00 | the most common "Default" ROM (English/Japanese) | |
SPLC780D1 003A | European | |
SPLC780D1 002A | Cyrillic | |
ST7070 | This LCD has two built in character sets, you can use both in
parallel: Western European supports Greek and Latin, two pages |
|
OLED LEC1621 | This LCD has four built in character sets but you can use only one
at the time: LEC1621_00 English Japanese (similar to HD44780 A00 but
extended with Hebrew) |
|
AIP31068L | uses same Character ROM like HD44780 A00 | |
Summary
With the additional language converters it becomes very easy to convert from letters with diacritic signs to the printable ASCII letters. If you are from an European country and you need better support of Latin1-4 letters you should consider to buy a SPLC780D1 LCD - which is also supported by this library.