#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,20,4);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
lcd.init();
lcd.backlight();
lcd.clear();
lcd.setCursor(0,0);
lcd.print("Mr.Pipat ");
lcd.setCursor(8,0);
lcd.print(" /Pat");
lcd.setCursor(0,1);
lcd.print("Age=43y");
lcd.setCursor(0,1);
lcd.print("Hight=174,Wieght=68 ");
//lcd.setCursor(0,0);
//lcd.print(" "); // ใช้ ลบ ข้อความ
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}