#include <LiquidCrystal_I2C.h>
#include <Wire.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
// put your setup code here, to run once:
lcd.init();
}
void loop() {
// put your main code here, to run repeatedly:
lcd.setCursor(0, 0); //設定第1行
lcd.print("Hello!"); //顯示文字
lcd.setCursor(0,1); //設定第2行
lcd.print("I am Jos"); //顯示文字
delay(3000);
}