Display:
https://www.adafruit.com/product/4567
Code I was using was based on this reference on ESP8266 and I modified it to work, sort of:
https://docs.micropython.org/en/latest/ ... 306-driver
Snippet:
Code: Select all
from machine import Pin, I2C
import ssd1306
i2c=I2C(0,sda=Pin(22),scl=Pin(19),freq=100000)
i2c.scan()
display = ssd1306.SSD1306_I2C(128, 64, i2c)
display.rotate(False)
display.text('Hello, World!', 0, 0, 1)
display.text('Hello, World!', 0, 12, 1)
display.text('Hello, World!', 0, 24, 1)
display.show()
https://github.com/micropython/micropyt ... ssd1306.py
This youtube video claimed it worked:
https://www.youtube.com/watch?v=KChW4qvw33o
What I got was a lot of ghosting across the vertical dimension of the display. I wonder if it's the display unit that is defective or not. I also have to disable rotate and pretend it were 64 pixels tall although it's only 32 pixels tall.
I'm wondering if this driver isn't compatible, i.e. ssd1306 driver on ssd1305 chipset.