#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd= LiquidCrystal_I2C(0x27,16,2);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
lcd.init(); lcd.backlight();
lcd.setCursor(0,0);
lcd.print("Hello,ESP32!");
delay(1000);
lcd.clear();
}
void loop() {
// put your main code here, to run repeatedly:
lcd.setCursor(0,1);
lcd.print("iot lab"); delay(1000);
lcd.clear();
lcd.setCursor(0,1);
lcd.print("lcd test"); delay(1000);
lcd.clear();
}