SH1106 Display

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
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

SH1106 Display

Post by deshipu » Fri Jul 15, 2016 1:50 pm

Another basic display driver. This one uses the framebuf module, as does the SSD1306 driver in Micropython's source tree.

https://bitbucket.org/thesheep/micropyt ... /sh1106.py

With this driver I tried to do a bit of a clean up, and move some common parts of the drivers to a base class, etc. -- turns out inheritance must be taking up a lot of memory, because after I did that, I'm getting MemoryError trying to import those classes. Either that, or there is some nasty bug there somewhere.

Post Reply