Modified to work with two displays

Dependents:   touch2 default CANary_9341_test CANary_merge

Fork of Touch_tft by Peter Drescher

Revision:
13:220e3da2dd00
Parent:
11:ce7ae1584207
Child:
14:c58c98c5020a
--- a/TOUCH_TFTx2.cpp	Sun Mar 03 18:06:29 2013 +0000
+++ b/TOUCH_TFTx2.cpp	Sun Mar 24 01:25:53 2013 +0000
@@ -15,6 +15,7 @@
 
 #include "TOUCH_TFTx2.h"
 #include "mbed.h"
+#include "Arial12x12.h"
 
 #define threshold 0x8000  // threshold to detect pressed
 #define accuracy 1000 // noise filter
@@ -194,6 +195,9 @@
     int pos_x, pos_y;
     point p;
     seldisp=1;       // select right display
+    set_font((unsigned char*) Arial12x12);
+    foreground(White);
+    background(Black);
     cls();
     line(0,3,6,3,White);
     line(3,0,3,6,White);