This is a library for driving SSD1306-based OLED displays using the LibOpenCM3 framework. It supports both I2C and SPI communication protocols.
This library is almost a direct port of the Adafruit_SSD1306 library for Arduino, adapted to work with LibOpenCM3.
An example of usage is src/example.c.
- Supports both I2C and SPI interfaces
- Supported primitive/HAL:
- drawing a single pixel
- drawing V and H lines
This should be pretty STM32 variant agnostic, but I have only tested it on an STM32F103C8T6 (Blue Pill) board.
I only have the I2C version of the display to test with. I also have only tested with my hacked together implementation of a graphics library (also in this repo, but not required or recommended for use).