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