Skip to content
python
from machine import Pin, I2C
import ssd1306

# using default address 0x3C
i2c = I2C(sda=Pin(4), scl=Pin(5))
display = ssd1306.SSD1306_I2C(128, 64, i2c)

display.text('Hello, World!', 0, 0, 1)
display.show()

https://wokwi.com/projects/406364177573651457

https://zhuanlan.zhihu.com/p/692988734