STM32 library for working with OLEDs based on SSD1306, SH1106, SH1107 and SSD1309, supports I2C and 4-wire SPI.
Tested on STM32F0, STM32F1, STM32F3, STM32F4, STM32L0, STM32L4, STM32F7 and STM32H7 MCUs, with 10 random displays from eBay. Also this code is known to work with afiskon/fpga-ssd1306-to-vga.
Please see examples
directory and ssd1306/ssd1306.h
for more details.
The code is based on 4ilo/ssd1306-stm32HAL library developed by Olivier Van den Eede ( @4ilo ) in 2016.
See also:
- https://github.com/afiskon/stm32-ssd1351
- https://github.com/afiskon/stm32-st7735
- https://github.com/afiskon/stm32-ili9341
There is a DuyTrandeLion/nrf52-ssd1309 port to nRF52 of this library made by @DuyTrandeLion in 2020.