/*
** EnglishSymbols **
Print English text and customized symbols (° €) to LCD1602
(using generic ROM or any other ROM) via I2C (PCF8574).
Author: Loc P. Le <[email protected]>
** Class **
- LCDI2C_Symbols (LCDI2C_Generic_Symbols): for printing English and
customized symbols (° €) with generic ROM (Japanese ROM) or any other ROM.
** Help **
https://github.com/locple/LCDI2C_Multilingual
*/
#include <LCDI2C_Multilingual_MCD.h>
LCDI2C_Vietnamese lcd(0x27, 20, 4); // I2C address: 0x27; Display size: 16x2
//LCDI2C_Generic_Symbols lcd(0x27, 16, 2); // Another name of LCDI2C_Symbols class
void setup() {
lcd.init();
lcd.backlight();
lcd.println("Temperature:25°C");
lcd.println("Price: €500");
lcd.println("kokodák");
delay(3000);
lcd.clear();
}
void loop() {
for (uint8_t i = 128; i < 256; i++) {
// lcd.clear();
lcd.setCursor(0, 0);
lcd.print(" ");
lcd.setCursor(0, 0);
lcd.print("Character ");
lcd.print(i);
lcd.print(": ");
lcd.write(i);
delay(700);
}
}