Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.3 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.3 KB

About LCD_AIP31068_I2C_WCHAR

This is Arduino library for multilingual character printing on LCD modules with AIP31068 chip via I2C

Credits

How to use the library

Basic usage

Currently, only russian character support is included into the library

  • Connect your LCD Module to Arduino Board via I2C
  • Add library to Arduino IDE using library manager or copy library to your sketch / workspace library folder
  • Add library includes to your sketch

The sketch should look like

#include <LCD_AIP31068_I2C_WCHAR.h>
#include <LCD_CharMap_RUS.h>

#define LCD_ADDRESS 0x7c>>1

LCD_AIP31068_I2C_WCHAR lcd(LCD_ADDRESS,16,2);

void setup() {

    lcd.init();
    
    lcd.setCursor(0,0);
    lcd.print("LCD1602 AIP31068");
    lcd.setCursor(2,1);
    lcd.print("русские буквы");
}

void loop() {
    delay(100);
}

Adding support for other languages

You can define character mappings for other languages. See LCD_CharMap_RUS.h for an example.
It is important to include your new mapping file in main sketch .ino file, so Arduino IDE build system can correctly parse PROGMEM macros.