Skip to content
MicroPython driver for SSD1327 128x128 4-bit greyscale OLED displays
Branch: master
Clone or download
Latest commit 8e7bd6a Aug 7, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
LICENSE.txt
README.md
setup.py
ssd1327.py
ssd1327_examples.py

README.md

MicroPython SSD1327

A MicroPython library for SSD1327 128x128 4-bit greyscale OLED displays, over I2C.

For example, the Grove - OLED Display 1.12" which features a 96x96 display.

demo

Example

Copy the file to your device, using ampy, webrepl or compiling and deploying. eg.

$ ampy put ssd1327.py

Hello World

import ssd1327
from machine import I2C, Pin

i2c = I2C(sda=Pin(4), scl=Pin(5))
# display = ssd1327.SSD1327_I2C(96, 96, i2c, 60)
display = ssd1327.SEEED_OLED_96X96(i2c)

for y in range(0,12):
    display.text('Hello World', 0, y * 8, 15 - y)
display.show()

See ssd1327_examples.py for more.

Parts

Connections

WeMos D1 Mini Grove OLED
D1 (GPIO5) SCL
D2 (GPIO4) SDA
3V3 (or 5V) VCC
G GND

Links

License

Licensed under the MIT License.

You can’t perform that action at this time.