from machine import Pin, I2C
from ssd1306 import SSD1306_I2C
from time import sleep

i2c=I2C(0,sda=Pin(21), scl=Pin(22), freq=400000)
oled = SSD1306_I2C(128, 64, i2c)

while True:
    oled.text("WELCOME!", 0, 0)
    oled.text("This is a text", 0, 16)
    oled.text("GOOD BYE", 0, 32)
    oled.show()