from machine import Pin, I2C
import ssd1306
from time import sleep
# ESP32 Pin assignment
i2c = I2C(-1, scl=Pin(22), sda=Pin(21))#For ESP32: pin initializing
#i2c = I2C(-1, scl=Pin(5), sda=Pin(4))#For ESP8266: pin initializing
oled_width = 128
oled_height = 64
oled = ssd1306.SSD1306_I2C(oled_width, oled_height, i2c)
oled.text('KK KK LL', 0, 0)
oled.text('KK KK LL', 0, 8)
oled.text('KK KK LL', 0, 16)
oled.text('KK KK LL', 0, 24)
oled.text('KKKK LL', 0, 32)
oled.text('KK KK LL', 0, 40)
oled.text('KK KK LL', 0, 48)
oled.text('KK KK LL', 0, 52)
oled.text('KK KK LLLLLLLL', 0, 60)
oled.show()