TM STM32F4xx Libraries  v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle

Library for 128x64 SSD1306 I2C LCD - http://stm32f4-discovery.com/2015/05/library-61-ssd1306-oled-i2c-lcd-for-stm32f4xx. More...

Modules

 TM_SSD1306_Macros
 Library defines.
 
 TM_SSD1306_Typedefs
 Library Typedefs.
 
 TM_SSD1306_Functions
 Library Functions.
 

Detailed Description

Library for 128x64 SSD1306 I2C LCD - http://stm32f4-discovery.com/2015/05/library-61-ssd1306-oled-i2c-lcd-for-stm32f4xx.

This SSD1306 LCD uses I2C for communication

Library features functions for drawing lines, rectangles and circles.

It also allows you to draw texts and characters using appropriate functions provided in library.

Default pinout
SSD1306    |STM32F4xx    |DESCRIPTION

VCC        |3.3V         |
GND        |GND          |
SCL        |PA8          |Serial clock line
SDA        |PC9          |Serial data line
Select custom I2C settings

Use defines.h file for custom settings

//Select custom I2C
#define SSD1306_I2C              I2C3
#define SSD1306_I2C_PINSPACK     TM_I2C_PinsPack_1

//Select custom I2C address 
#define SSD1306_I2C_ADDR         0x78

//Select custom width and height if your LCD differs in size
#define SSD1306_WIDTH            128
#define SSD1306_HEIGHT           64
Changelog
 Version 1.0
  - First release
Dependencies
 - STM32F4xx
 - STM32F4xx RCC
 - defines.h
 - TM I2C
 - TM FONTS
 - TM DELAY
 - string.h
 - stdlib.h