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

Dependencies:   Mini-DK mbed SDFileSystem

WARNING: filetoflash (SD to CPU flash)

The SPI_TFT library called from Mini-DK.lib contains an option to copy an image from the SD card to the CPU flash memory. This allows you to use an image as background without speed loss when writing other text and graphics.

By default, this option is enabled.

It can be disabled by uncommenting the #define mentioned below in Mini_DK.h:

#define NO_FLASH_BUFFER

Since the flash memory has limited write endurance, DO NOT use this feature when you intend to read multiple images from the SD card (eg: when used as a photo frame).

Revision:
6:b547fb6c1095
Parent:
5:781a72d380a1
Child:
7:ffdd4e75b366
--- a/Mini-DK/SPI_TFT/SPI_TFT.h	Thu Jan 03 20:04:38 2013 +0000
+++ b/Mini-DK/SPI_TFT/SPI_TFT.h	Thu Jan 03 21:24:05 2013 +0000
@@ -5,8 +5,10 @@
 
 
 #include "GraphicsDisplay.h"
+#include "BurstSPI.h"
 #include "mbed.h"
 
+
 #define incx() x++, dxt += d2xt, t += dxt
 #define incy() y--, dyt += d2yt, t += dyt
 
@@ -242,7 +244,7 @@
    */
   void set_orientation(unsigned int o);
   void mod_orientation(void);
-  SPI _spi;
+  BurstSPI _spi;
   DigitalOut _cs;
   unsigned char* font;