FT6206 Library for Adafruit 2.8" TFT Touch Shield for Arduino w/Capacitive Touch

Dependents:   ArchPro_TFT ATT_AWS_IoT_demo_v06 ArchPro_TFT TermProject

Revision:
10:535d2140db2c
Parent:
9:fff166330146
Child:
11:9e1fc2233b0e
diff -r fff166330146 -r 535d2140db2c FT6206.h
--- a/FT6206.h	Tue Mar 24 01:27:58 2015 +0000
+++ b/FT6206.h	Tue Mar 24 01:31:42 2015 +0000
@@ -65,7 +65,20 @@
 
 int main()
 {
+    //Configure the display driver
+    TFT.claim(stdout);
+    TFT.background(Black);
+    TFT.foreground(White);
+    TFT.set_orientation(LANDSCAPE);
+    TFT.cls();
+
+    //Print a welcome message
+    TFT.set_font((unsigned char*) Arial12x12);
+    TFT.locate(0,0);
+    TFT.printf("Hello mbed!\n");
+
     while(1) {
+        int X1, Y1, X2, Y2;
         TS_Point p;
         if (FT6206.getTouchPoint(p)) {
             X1 = X2;