LPC1768 Mini-DK board with 2.8" SPI TFT and SPI touch

Dependencies:   Mini-DK SDFileSystem mbed

Fork of LPC1768_Mini-DK by Frank Vannieuwkerke

Revision:
7:ffdd4e75b366
Parent:
6:b547fb6c1095
--- a/main.cpp	Thu Jan 03 21:24:05 2013 +0000
+++ b/main.cpp	Fri Jan 04 09:52:16 2013 +0000
@@ -123,7 +123,6 @@
     TP.TouchPanel_Calibrate();
     TFT.set_font((unsigned char*) Arial12x12);
     TFT.set_orientation(0);
-//    TFT.cls();
     TFT.locate(0,0);
     TFT.printf(" X:");
     TFT.locate(70,0);
@@ -136,11 +135,10 @@
             {
                 TP.getDisplayPoint() ;
                 TP.TP_DrawPoint(TP.display.x,TP.display.y, Blue);
-//                TFT.rect(TP.display.x,TP.display.y,1,1,Red);
                 TFT.locate(25,0);
-                printf("%03d",TP.display.x);
+                TFT.printf("%03d",TP.display.x);
                 TFT.locate(95,0);
-                printf("%03d",TP.display.y);
+                TFT.printf("%03d",TP.display.y);
                 // Touchscreen area is larger than LCD area.
                 // We use the bottom area outside the LCD area to clear the screen (y value > 320).
                 if (TP.display.y > 320)