#--------------------------------------------------
# Module importieren
import time
import machine
import ssd1306

#--------------------------------------------------
# setup
i2c = machine.I2C(0, scl=machine.Pin(22), sda=machine.Pin(21))
oled = ssd1306.SSD1306_I2C(128, 64, i2c)

#--------------------------------------------------
# loop
while True:  
    # Text an Koordinate (x/y=14/10) ausgeben
    oled.text("OLED-Display", 14, 10)      
    oled.show()
    time.sleep(1)

    # Display löschen
    oled.fill(0)    
    oled.show()
    time.sleep(1)