peterhinch / micropython-nano-gui

A lightweight MicroPython GUI library for display drivers based on framebuf class
MIT License
508 stars 87 forks source link

Issues with the SSD1339 driver #67

Closed vvlang closed 5 months ago

vvlang commented 5 months ago

I have an SSD1339 OLED display, and although the driver I wrote (ssd1339.py) can display content, the image shown when running the test program is skewed. Could you please tell me what the issue might be?

ssd1339.py
test.py

MicroPython v1.22.2, pico v1.22.2 on 2024-03-06; Raspberry Pi Pico with RP2040

IMG_8671

peterhinch commented 5 months ago

It's not really possible for me to debug a driver for hardware which I don't possess. The display you're seeing is typical of the sort of thing you get with a faulty driver. The only way to sort this out is to study the chip datasheet and be sure that every line of code makes sense in that context. Writing display drivers is quite time consuming. Good luck.