from machine import Pin,I2C
from ssd1306 import SSD1306_I2C
from time import sleep
i2c=I2C(0,sda=Pin(0),scl=Pin(1),freq=400000)
addr=i2c.scan()
print("I2C addr=",addr)
oled=SSD1306_I2C(128,64,i2c)
oled.text("Hello World",0,0)
oled.show()from machine import Pin,I2C
from ssd1306 import SSD1306_I2C
from time import sleep
i2c=I2C(0,sda=Pin(0),scl=Pin(1),freq=400000)
addr=i2c.scan()
print("I2C addr=",addr)
oled=SSD1306_I2C(128,64,i2c)
oled.text("Hello World",0,0)
oled.show()