You have no items in your shopping cart.



Profile Informations

Login Datas

or login

First name is required!
Last name is required!
First name is not valid!
Last name is not valid!
This is not an email address!
Email address is required!
This email is already registered!
Password is required!
Enter a valid password!
Please enter 6 or more characters!
Please enter 16 or less characters!
Passwords are not same!
Terms and Conditions are required!
Email or Password is wrong!
Captcha is required!
Captcha is wrong!

ITDB02 Touch Lib For STM32 GCC & Demo

This touch library is basis on arduino ITDB02 library which be improved by Henning Karlsen. We transplant it into the GCC build environment and make it compatible with CoIDE.Now you can use it to drive our IFLAT-32 with ITDB02-3.2/2.4 LCD , the Library Provide you the touch screen driver functions.

Defined Literals:

Orientation: For use with InitTouch()
Precision: For use with setPrecision()


void InitTouch(unsigned char orientation);
Initialize the touch screen and set display orientation. If the library is used together with the ITDB02_Graph(16) the orientation should be set to the same orientation for both libraries.

unsigned char DataAvailable();
Check to see if new data from the touch screen is waiting.
void Touch_Read(void);
Read waiting data from the touch screen. This function should be called if dataAvailable() is true. Use getX() and getY() to get the coordinates.
int GetX(void);
Get the x-coordinate of the last position read from the touch screen.
int GetY(void);
Get the y-coordinate of the last position read from the touch screen.
void SetPrecision(unsigned char precision);
Set the precision of the touch screen.

Below is the Handwriting demo which use ITBD02 Touch and Display Library together.

int main(void)
    int x;
    int y;

    TP_X = 0;
    TP_Y = 0;

        while(DataAvailable() == 1)

You can download the ITDB02 touch lib for stm32 GCC here:

  ITDB02 Touch Lib For STM32 GCC (2.9 KiB, 1,332 hits)