adafruit / Adafruit_Python_SSD1306

Python library to use SSD1306-based 128x64 or 128x32 pixel OLED displays with a Raspberry Pi or Beaglebone Black.
MIT License
543 stars 283 forks source link

added support for 96x16 (8.4") OLED display #3

Closed larsbo closed 9 years ago

larsbo commented 10 years ago

Hey guys, here is my code for the 96x16 class. It works fine with the shape.py example. Not sure about line #L337-339 because there is some difference between class SSD1306_128_64 and SSD1306_128_32 at this point and I don't understand what it is good for. So I just copied the 128_32 version.

larsbo commented 9 years ago

small reminder for the pull request

tdicola commented 9 years ago

Oh thanks! Sorry haven't had a chance to catch up and check this out. I don't think I have one of these OLEDs unfortunately to try, but I'll give the code a quick check to see it doesn't change anything else and merge it in. Thanks!