import oled_library
from machine import Pin, softI2C
# Initialize I2C
i2c_oled = I2C(0, scl=Pin(21), sda=Pin(22))
# Initialize OLED display
oled_width = 128
oled_height= 64
oled=oled_library.SSD1306_I2C(width= oled_width, height= oled_height,i2c=i2c)
Loading
ssd1306
ssd1306