SSD1306 test with STM32F0DISCOVERY
Quick test of SSD1306 0.96" OLED display with STM32F0DISCOVERY (STM32F051) board.
Connections:
STM32F0 DISCOVERY SSD1306 GND GND 3V VCC PB6 SCL PB7 SDA
Tested with "JDM0.96A-2" display in default configuration (I2C address = 0x3C, resistor on the back in "0x7B" position). It looks like silkscreen typo, it should be rather "0x78".
Built with Embitz 1.11, using make - should work also with standalone gcc toolchains. Modify run_make.bat to match GCC_PATH with your EmBitz or arm-gcc installation folder.
Based on https://github.com/4ilo/ssd1306-stm32HAL/tree/master (MIT license).
Source + binary: STM32F0_SSD1306.zip.