Pages: [1]   Go Down
Author Topic: ITDB02 2.8 Touch Screen With Arduino UNO  (Read 153 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:

#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.

Pages: [1]   Go Up
Jump to: