Draw a bitmap file in a sd card

Dependencies:   SPI_TFT_ILI9341

Dependents:   Seeed_TFT_Touch_ShieldA Digital_Photo_Frame_with_FTP_SD_WIZwiki-W7500

Fork of SeeedStudioTFTv2 by Components

Files at this revision

API Documentation at this revision

Comitter:
MidnightCow
Date:
Sat Aug 15 08:42:39 2015 +0000
Parent:
13:362765fdf287
Commit message:
Add to Draw BMPFile in SD Card

Changed in this revision

SeeedStudioTFTv2.h Show annotated file Show diff for this revision Revisions of this file
--- a/SeeedStudioTFTv2.h	Tue May 06 18:12:49 2014 +0000
+++ b/SeeedStudioTFTv2.h	Sat Aug 15 08:42:39 2015 +0000
@@ -14,6 +14,8 @@
 #ifndef MBED_TOUCH_H
 #define MBED_TOUCH_H
 
+#define USE_SDCARD
+
 #include "mbed.h"
 #include "SPI_TFT_ILI9341.h"
 #ifdef USE_SDCARD
@@ -25,11 +27,11 @@
     int y;
 };
 
-class SeeedStudioTFTv2 : public  
+class SeeedStudioTFTv2 : 
 #ifdef USE_SDCARD
-    SDFileSystem,
+    public  SDFileSystem,
 #endif
-    SPI_TFT_ILI9341
+    public  SPI_TFT_ILI9341
 {
 public:
     /** create a TFT with touch object connected to the pins:
@@ -87,3 +89,4 @@
 };
 
 #endif
+