Library (as yet untested) for use with the Mikroelectronics tft_proto screens

Dependencies:   SPI_TFT_ILI9341 TFT_fonts mbed

Fork of TFT_banggood by chris stevens

Revision:
5:424af4fa03ab
Parent:
4:14043cafbec7
Child:
6:18c7288b5e00
--- a/main.cpp	Thu Jun 09 10:33:48 2016 +0000
+++ b/main.cpp	Thu Jun 09 16:19:10 2016 +0000
@@ -16,12 +16,12 @@
 
 
 // the display has a backlight switch on board 
-DigitalOut LCD_LED(PTA13);       
-DigitalOut pwr(PTD7);
+DigitalOut LCD_LED(PTA13);   // may not be needed on mikroelectronika board    
+DigitalOut pwr(PTD7); // ditto
 
 // the TFT is connected to SPI pin 5-7
 //SPI_TFT_ILI9341 TFT(p5, p6, p7, p8, p9, p10,"TFT"); // mosi, miso, sclk, cs, reset, dc for lpc1768
-SPI_TFT_ILI9341 TFT(PTD2, PTD3, PTD1, PTD5, PTD0, PTC12,"TFT"); // mosi, miso, sclk, cs, reset, dc for frdmkl25z
+SPI_TFT_ILI9341 TFT(PTD2, PTD3, PTD1, PTD5, PTD0, PTA13,"TFT"); // mosi, miso, sclk, cs, reset, dc for frdmkl25z
 //NB better combination to use a coherent 2x4 block for lcd 
 //   SPI_TFT_ILI9341 TFT(PTD2, PTD3, PTD1, PTA16, PTA17, PTC16,"TFT"); // mosi, miso, sclk, cs, reset, dc for frdmkl25z
 //   DigitalOut LCD_LED(PTC17);