 
 void touchDetected(){
   // Retrieve a point  
-  TS_Point p = ctp.getPoint();
+  POINT p = ctp.getPoint();
 
   // flip it around to match the screen.
-  p.x = map(p.x, 0, 240, 240, 0);
-  p.y = map(p.y, 0, 320, 320, 0);
+  // p.x = map(p.x, 0, 240, 240, 0);
+  // p.y = map(p.y, 0, 320, 320, 0);
 
   // Print out the remapped (rotated) coordinates
   Serial.print("("); Serial.print(p.x);

// The FT6206 uses hardware I2C (SCL/SDA)
Adafruit_FT6206 ctp = Adafruit_FT6206();

#define LCD_CS 15   // chip select
#define LCD_CD 20   // command/data
#define LCD_WR 22   // write
#define LCD_RD 21   // read

#define LCD_RESET 23

Adafruit_TFTLCD tft(LCD_CS, LCD_CD, LCD_WR, LCD_RD, LCD_RESET);

// Size of the color selection boxes and the paintbrush size
#define BOXSIZE 40


 ****************************************************/

#include <SPI.h>
#include "ILI9341_t3.h"
#include <i2c_t3.h>      
#include <Adafruit_FT6206.h>

