Problem using the SSD1306 driver with the Wemos OLED shield
Posted: Wed Aug 23, 2017 8:40 pm
Hi,
I am having a problem using the Wemos OLED Shield (https://wiki.wemos.cc/products:d1_mini_ ... led_shield) with the SSD1306 driver in the library (https://github.com/micropython/micropyt ... ssd1306.py).
Here is my test code:
Which seems to communicate with the display... but does not display correctly...
Any help would be appreciated... Thanks!
I am having a problem using the Wemos OLED Shield (https://wiki.wemos.cc/products:d1_mini_ ... led_shield) with the SSD1306 driver in the library (https://github.com/micropython/micropyt ... ssd1306.py).
Here is my test code:
Code: Select all
import ssd1306
from machine import I2C, Pin
i2c = I2C(sda=Pin(4), scl=Pin(5))
display = ssd1306.SSD1306_I2C(48, 64, i2c)
display.fill(0)
for x in range(30):
display.pixel(x,x,1)
display.show()
Any help would be appreciated... Thanks!