Example for STM32 HAL driver for for I2C OLED SSD1603 display with U8glib
This is an example project for I2C OLED SSD1603 display with U8glib. It includes the driver. The driver itself can be found in SSD1603 repository.
The example was prepared under SW4STM32 for STM32F103C8T6 development board and can be easily ported to any other device. Also STM32CubeMX configuration file is included.
You need a board equipped with STM32F103C8T6 MCU and a SSD1603 display with I2C interface.
The module has to be connected with the MCU board with following pins:
MCU pin | SX1278 pin | Description |
---|---|---|
PB7 | SDA | I2C SDA |
PB6 | SCL | I2C SCL |
------- | ---------- | ----------- |
VDD | VCC | +3V3 |
VSS | GND | GND |
Remember to pull--up the SDA and SCL line. One resistor of value 4k7 Ohm will be sufficient.
You have to compile it under SW4STM32 or import it into i.e. TrueSTUDIO - Atollic.
The display will show a simple text.
You can visit my blog to read more about the SSD1603 display or my other projects.