Closed larsbo closed 9 years ago
Unfortunately not out of the box, but it might not be too hard to make work. There's a class for each size display, like SSD1306_128_64 for a 128x64 display or SSD1306_128_32 for a 128x32 display. Each of these classes inherits from an SSD1306Base class and just implements an _initialize function that sends the right commands to initialize each display. To make the 96x16 work you would probably need to create your own class like the SSD1306_128_64, etc. classes and give it an initialization function. Check out the code here if you're curious: https://github.com/adafruit/Adafruit_Python_SSD1306/blob/master/Adafruit_SSD1306/SSD1306.py
Does the library spport this OLED display with 96x16 pixel: http://www.amazon.com/SainSmart-Serial-96X16-Module-Arduino/dp/B00MQM4MK4? It also uses the SSD1306 IC.