#--------------------------------------------------
# Module importieren
import machine
import time
import lcd_i2c
#--------------------------------------------------
# setup
i2c = machine.I2C(0, scl=machine.Pin(22), sda=machine.Pin(21), freq=100000)
lcd = lcd_i2c.LCD(addr=0x27, cols=20, rows=4, i2c=i2c)
lcd.begin()
#--------------------------------------------------
# loop
while True:
# Text an Koordinate (x/y=4/1) ausgeben
lcd.set_cursor(4, 1)
lcd.print("LCD-Display")
time.sleep(1)
# Display löschen
lcd.clear()
time.sleep(1)