Hello guys, I need your help:
I just received your ITDB02 Shield 2.0 in combination with the ITDB02-2.4E 2.4" TFT LCD Module on an Iteaduino 2.2.
Screen functions work fine so far. Now i want to show the X and Y positions from the touch controller on the display.
The problem with the new Shield 2.0 is that there is not output for the D_IRQ signal at all. The previous version (1.3) had this output on digital pin 8.
However, the ITDB02_Touch library requires this signal on its initialisation: ITDB02_Touch(TCLK, TCS, TDIN, TDOUT, IRQ);
Can you tell me how I can get touch function to work ?
Datasheet from my Shield: http://www.exp-tech.de/service/pdf/ITDB02%20Arduino%20shield%20v2.0.pdf
My test-code:
#include <UTFT.h>
#include <ITDB02_Touch.h>
extern uint8_t SmallFont[];
extern uint8_t BigFont[];
extern uint8_t SevenSegNumFont[];
UTFT myGLCD(ITDB24E_8,19,18,17,16);
ITDB02_Touch myTouch(15,8,14,9,8);
void setup()
{
 myGLCD.InitLCD();
 myGLCD.clrScr();
 myGLCD.setColor(0, 255, 0);
 myGLCD.setBackColor(0, 0, 0);
 myGLCD.setFont(BigFont);
 myTouch.InitTouch();
 myTouch.setPrecision(PREC_MEDIUM);
}
void loop()
{
 while (myTouch.dataAvailable() == true)
  {
   int x,y;
   x = myTouch.getX();
   y = myTouch.getY();
   myGLCD.printNumI(x, CENTER, 100);
   myGLCD.printNumI(x, CENTER, 120);
  }
}
Thanks for your help !