from time import sleep
from machine import I2C, Pin
from machine_i2c_lcd import I2cLcd
sda0 = Pin(0,Pin.PULL_UP)
scl1 = Pin(1,Pin.PULL_UP)
i2c = I2C(0, sda= sda0, scl= scl1 , freq=100000)
lcd = I2cLcd(i2c, 0x27, 2, 16)
zeile1 = "Hallo Python!"
zeile2 = "vom Pico"
lcd.putstr(zeile1 + "\n" + zeile2)
sleep(2)