from machine import Pin, I2C
from machine_i2c_lcd.py import I2cLcd
import time
i2c=i2c(0, sda=Pin(17), scl=Pin(16), freq=100000)
lcd = I2cLcd(i2c, 0x27, 2, 16)
lcd.clear()
while True:
lcd.move_to(0, 0)
lcd.putstr("ESP32-S2 con I2C")
lcd.move_to(0, 1)
lcd.putstr("MicroPython ")
time.sleep(1.0)