c est celui ci le poirier

Dependencies:   SPI_TFT_ILI9341

Fork of SeeedStudioTFTv2 by Michael Ammann

Revision:
5:366bdc7a8315
Parent:
4:4542d1ff81e4
Child:
7:dfd69b3be5b6
--- a/SeeedStudioTFTv2.h	Sat Oct 19 20:51:48 2013 +0000
+++ b/SeeedStudioTFTv2.h	Sat Oct 19 21:07:54 2013 +0000
@@ -17,7 +17,7 @@
 #include "mbed.h"
 #include "SPI_TFT_ILI9341.h"
 #ifdef USE_SDCARD
-#include "SDFileSystem.h"
+#include "SDFileSystem.h" // import the SDFileSystem library 
 #endif
 
 struct point {
@@ -47,6 +47,8 @@
                      PinName csTft, PinName rstTft, PinName dcTft, PinName blTft,
                      PinName csSd);
 
+    void setBacklight(bool enabled);
+    
     /** calibrate the touch display
      *
      * User is asked to touch on two points on the screen
@@ -73,6 +75,7 @@
     PinName _ym;
     PinName _xp;
     PinName _yp;
+    DigitalOut bl;
 
     typedef enum { YES, MAYBE, NO } TOUCH;
     TOUCH getTouch(point& p);