Skip to content
This repository has been archived by the owner on Sep 28, 2019. It is now read-only.

0.84" support? #2

Closed
larsbo opened this issue Sep 24, 2014 · 1 comment
Closed

0.84" support? #2

larsbo opened this issue Sep 24, 2014 · 1 comment

Comments

@larsbo
Copy link
Contributor

larsbo commented Sep 24, 2014

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.

@tdicola
Copy link
Contributor

tdicola commented Sep 24, 2014

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

@tdicola tdicola closed this as completed Sep 24, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants