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.

Dependents:   Mandelbrot

Fork of SPI_TFT_ILI9341 by Peter Drescher

Revision:
10:50f88bd5557f
Parent:
9:423e6a952472
Child:
11:59eca2723ec5
diff -r 423e6a952472 -r 50f88bd5557f SPI_TFT_ILI9341.cpp
--- a/SPI_TFT_ILI9341.cpp	Sun Jun 22 22:28:51 2014 +0000
+++ b/SPI_TFT_ILI9341.cpp	Sun Jun 22 22:32:01 2014 +0000
@@ -26,7 +26,7 @@
 //extern DigitalOut xx;     // debug !!
 
 SPI_TFT_ILI9341::SPI_TFT_ILI9341(PinName mosi, PinName miso, PinName sclk, PinName cs, PinName reset, PinName dc, const char *name)
-    : _spi(mosi, miso, sclk), _cs(cs), _reset(reset), _dc(dc), GraphicsDisplay(name)
+    : GraphicsDisplay(name), _spi(mosi, miso, sclk), _cs(cs), _reset(reset), _dc(dc)
 {
     clk = sclk;
     orientation = 0;