sumotoy
Well-known member
OBSOLETE! All controllers now included in one library (tha support many SSD1331,SSD1332,SSD1322,SSD1351, more to come), it's much faster and uses the same commands/fonts/icons/images of my TFT_ series.
It doesn't need adafruit GFX and finally works at any rotation (one of the reason I abandoned adafruit gfx).
New library is called SSD_13XX
Hello,
I just finished a fast library for SSD1332 OLED displays that works with SPI and uses correctly hardware accellerated macros for this chip and SPI/DMA from Paul. The result it's very promising, the display it's really fast, here's video.
Note that the small time gaps of the video are caused by camera->youtube conversion! It performs very smooth in real word. The video shows the speed with a Teensy3.0 in SPI mode with version 0.5b1, now the 0.5b2 it's even faster. The SSD1331 has the same speedup. Both modules have been tested with 4 wires connection with 24Mhz SPI
Both libraries uses Adafruit_GFX so are 100% compatibles with projects builded around those libraries.
I spent quite a lot of time to figure out what's wrong with damn solomon's hardware accellerated macros (even Adafruit has commented out) and finally I got it working.
Edit 28/05 :
SSD1332 library has been optimized and now it's even faster, I believe it's pushing the limits of this chip, btw it's really tricky to have the screen rotation command working correctly since the hardware accellerated commands works only
in one way so I have to deal continuosly with pixel addressing (reverse it, invert upside down and up and so on) so at the moment in only works ok in normal mode (setRotation(0)) and upside down (setRotation(2)). I'm near to find a permanent solution for the remaining 2 modes.
I still not checked the screen rotation of SSD1331 or SSD1306 but since they not use hardware accellerated stuff it believe it's easy trick.
On GITHUB
https://github.com/sumotoy/OLED_SSD1332
https://github.com/sumotoy/OLED_SSD1331
EDIT:
An experimental SSD_1306 library here:
https://github.com/sumotoy/OLED_SSD1306
It doesn't need adafruit GFX and finally works at any rotation (one of the reason I abandoned adafruit gfx).
New library is called SSD_13XX
Hello,
I just finished a fast library for SSD1332 OLED displays that works with SPI and uses correctly hardware accellerated macros for this chip and SPI/DMA from Paul. The result it's very promising, the display it's really fast, here's video.
Both libraries uses Adafruit_GFX so are 100% compatibles with projects builded around those libraries.
I spent quite a lot of time to figure out what's wrong with damn solomon's hardware accellerated macros (even Adafruit has commented out) and finally I got it working.
Edit 28/05 :
SSD1332 library has been optimized and now it's even faster, I believe it's pushing the limits of this chip, btw it's really tricky to have the screen rotation command working correctly since the hardware accellerated commands works only
in one way so I have to deal continuosly with pixel addressing (reverse it, invert upside down and up and so on) so at the moment in only works ok in normal mode (setRotation(0)) and upside down (setRotation(2)). I'm near to find a permanent solution for the remaining 2 modes.
I still not checked the screen rotation of SSD1331 or SSD1306 but since they not use hardware accellerated stuff it believe it's easy trick.
On GITHUB
https://github.com/sumotoy/OLED_SSD1332
https://github.com/sumotoy/OLED_SSD1331
EDIT:
An experimental SSD_1306 library here:
https://github.com/sumotoy/OLED_SSD1306
Last edited: