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:
9:3e117b89c705
Parent:
8:94f3d4c62f6a
Child:
10:d07f76421408
--- a/Mini-DK/Mini_DK.h	Fri Jan 04 13:36:03 2013 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-/**************************************************************************************************
- *****                                                                                        *****
- *****  Name: Mini_DK.h                                                                       *****
- *****  Ver.: 1.0                                                                             *****
- *****  Date: 04/01/2013                                                                      *****
- *****  Auth: Erik Olieman                                                                    *****
- *****  Func: Includes, pin and macro Declarations for the Mini DK board                      *****
- *****                                                                                        *****
- **************************************************************************************************/
-#include "SPI_TFT.h"
-#include "Arial12x12.h"
-#include "Arial24x23.h"
-#include "Arial28x28.h"
-#include "font_big.h"
-#include "Touch.h"
-
-#define DK_KEY1     P2_11
-#define DK_KEY2     P2_12
-
-#define DK_LED1     P3_25
-#define DK_LED2     P3_26
-
-#define LCD_SCK     P0_15
-#define LCD_CS      P0_16
-#define LCD_SDO     P0_17
-#define LCD_SDI     P0_18
-#define LCD_BL      P1_26
-
-#define TP_IRQ      P2_13
-#define TP_CS       P0_6
-#define TP_SCK      P0_7
-#define TP_SDO      P0_8
-#define TP_SDI      P0_9
-
-#define SD_SDO      P1_23
-#define SD_SDI      P1_24
-#define SD_SCK      P1_20
-#define SD_CS       P1_21
-#define SD_CD       P1_25
-
-#define DISABLE_LCD_MISO    (LPC_PINCON->PINSEL1) &= ~(0x02<<2);
-#define ENABLE_LCD_MISO     (LPC_PINCON->PINSEL1) |=  (0x02<<2);
\ No newline at end of file