micropython嵌入式oled初始化

      
i2c = I2C(sda=Pin("Y8"), scl=Pin("Y6"))     

oled = SSD1306_I2C(128, 64, i2c, addr=0x3c)
oled.text("Hello World!", 0, 0)              
oled.text("MicroPython", 0, 20)                   
oled.text("By 01Studio", 0, 50)                    
oled.show()                 

你可能感兴趣的:(ESP32,chrome,前端)