Skip to content

STM32 library for working with OLEDs based on SSD1306, SH1106 and SSD1309, supports I2C and SPI

License

Notifications You must be signed in to change notification settings

mnemocron/stm32-ssd1306

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stm32-ssd1306

This library was adapted to support multiple Displays on multiple I2C Busses. See the example for further details.

SSD1306_t holed1;
holed1.hi2cx = &hi2c1;
ssd1306_Init(&holed1);
ssd1306_Fill(&holed1, Black);
ssd1306_SetCursor(&holed1, 2, 0);
ssd1306_WriteString(&holed1, "Hello,", Font_11x18, White);
ssd1306_UpdateScreen(&holed1);

Currently missing is the implementaion to use multiple displays on SPI Bus.


original Readme:

STM32 library for working with OLEDs based on SSD1306, SH1106 and SSD1309, supports I2C and 4-wire SPI.

Tested on STM32F1 and STM32F4 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:

About

STM32 library for working with OLEDs based on SSD1306, SH1106 and SSD1309, supports I2C and SPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%