Lib for the new LCD Display with ILI9341 controller Modified for huge fonts (>255 bytes/char). Needs modified font.h files with 2-byte size parameter. Window size is set on a per-character basis to minimise the number of pixels written (speed-up, plus better detection of whether one last character will fit on the current line). NUCLEO & NXP DMA-enabled versions are modified but untested.
Fork of SPI_TFT_ILI9341 by
Diff: SPI_TFT_ILI9341.h
- Revision:
- 8:07ad6a48a85d
- Parent:
- 6:fe07ae8329f7
--- a/SPI_TFT_ILI9341.h Sun Jan 26 20:54:21 2014 +0000 +++ b/SPI_TFT_ILI9341.h Sun Jun 22 21:44:00 2014 +0000 @@ -19,6 +19,7 @@ #include "mbed.h" #include "GraphicsDisplay.h" +#include "stm32l1xx_dma.h" #define RGB(r,g,b) (((r&0xF8)<<8)|((g&0xFC)<<3)|((b&0xF8)>>3)) //5 red | 6 green | 5 blue @@ -395,7 +396,7 @@ unsigned int char_x; unsigned int char_y; PinName clk; - + DMA_InitTypeDef DMA_InitStructure; };