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

STMPE811 Touch screen controller library - http://stm32f4-discovery.com/2014/05/library-10-stmpe811-touch-screen-driver-for-stm32f429-discovery-board/. More...

Modules

 TM_STMPE811_Macros
 Library defines.
 
 TM_STMPE811_Typedefs
 Library Typedefs.
 
 TM_STMPE811_Functions
 Library Functions.
 

Detailed Description

STMPE811 Touch screen controller library - http://stm32f4-discovery.com/2014/05/library-10-stmpe811-touch-screen-driver-for-stm32f429-discovery-board/.

It can be used on STM32F429 Discovery board, or any other LCD with 240*320 pixels

Default pinout
STMPE811   STM32F4xx   Description

SCL        PA8         Clock pin for I2C
SDA        PC9         Data pin for I2C
Note
This pinout is used on STM32F429 Discovery board.
Custom pinout

If you want to change pinout, you can add lines below in your defines.h file

//Use custom I2C settings. Check TM I2C library for corresponding pins
#define STMPE811_I2C             I2C3
#define STMPE811_I2C_PINSPACK    TM_I2C_PinsPack_1
Changelog
 Version 1.0
  - First release
  
 Version 1.2
  - January 27, 2015
  - Added support for last pressed state

 Version 1.1
  - August 22, 2014
  - Fixes because on some boards my library for these touch didn't work
Dependencies
 * STM32F4xx
 - STM32F4xx RCC
 - STM32F4xx GPIO
 - defines.h
 - TM I2C
 - TM DELAY