SSD1327 4-bit greyscale OLED displays

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
User avatar
Posts: 410
Joined: Mon Jun 15, 2015 8:03 am

SSD1327 4-bit greyscale OLED displays

Post by mcauser » Fri Jun 09, 2017 5:53 pm

I've created a driver for working with SSD1327 OLED displays, such as my Grove OLED 96x96.

It's 4-bit greyscale and uses framebuf's GS4_HMSB.

Code: Select all

import ssd1327
from machine import I2C, Pin

i2c = I2C(sda=Pin(4), scl=Pin(5))
display = ssd1327.SEEED_OLED_96X96(i2c)

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

Post Reply