Go Down

Topic: ITDB02 2.8 Touch Screen With Arduino UNO (Read 547 times) previous topic - next topic


I am running a ITB02 2.8 Touch Screen With Arduino UNO Touch Screen sample code. Except the touch screen co-ordinates issue every thing else is working fine. The dot on TFT LCD is not getting generated at place where I touch the screen. I tried many ways by manipulating co-ordinate but it does not work. Below is the code:

Code: [Select]

#include <ITDB02.h>

ITDB02 lcd(0,1,2,3,4,5,6,7,19,18,17,16);

void setup()

void loop()
   char ASCII[16]={'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
   char tp;
   unsigned int lx,ly;
   lcd.Dispshowstr(5,5,"Touch Test Demo");
     lcd.Dispshowchar(10,300,' ');
     lcd.Dispshowchar(60,300,' ');

I am unable to understand why the dot in the TFT LCD is getting created at some other location other than the place where I am touching the screen.

Go Up