from machine import Pin,I2C
from ssd1306 import SSD1306_I2C
i2c=I2C(0,sda=Pin(0),scl=Pin(1),freq=400000)
oled= SSD1306_I2C(128,64,i2c)
oled.rect(20,20,80,40,1)
oled.line(20,20,60,5,1)
oled.line(60,5,100,20,1)
oled.line(20,20,100,20,1)
oled.rect(80,30,10,10,1)
oled.rect(30,30,10,10,1)
oled.rect(50,40,20,20,1)
oled.show()