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).
Diff: Mini-DK/Mini_DK.h
- Revision:
- 2:d0acbd263ec7
- Child:
- 5:781a72d380a1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Mini-DK/Mini_DK.h Thu Jan 03 10:54:09 2013 +0000 @@ -0,0 +1,24 @@ +#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