2.8" TFT LCD with Cap Touch Breakout Board w/MicroSD Socket interfaced with kl25z
Dependencies: SPI_TFT_ILI9341 TFT_fonts mbed
Fork of TFT_Test_ILI9341 by
Revision 1:42e48610ba0f, committed 2014-10-14
- Comitter:
- dhivya12
- Date:
- Tue Oct 14 11:02:54 2014 +0000
- Parent:
- 0:414a960bd52e
- Commit message:
- 2.8" TFT LCD with Cap Touch Breakout Board w/MicroSD Socket with kl35z
Changed in this revision
diff -r 414a960bd52e -r 42e48610ba0f SPI_TFT_ILI9341.lib --- a/SPI_TFT_ILI9341.lib Wed Jun 12 22:56:43 2013 +0000 +++ b/SPI_TFT_ILI9341.lib Tue Oct 14 11:02:54 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/dreschpe/code/SPI_TFT_ILI9341/#da1bf437cbc1 +http://mbed.org/users/dreschpe/code/SPI_TFT_ILI9341/#b2b3e5430f81
diff -r 414a960bd52e -r 42e48610ba0f TFT_fonts.lib --- a/TFT_fonts.lib Wed Jun 12 22:56:43 2013 +0000 +++ b/TFT_fonts.lib Tue Oct 14 11:02:54 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/dreschpe/code/TFT_fonts/#419d21bfc20c +http://mbed.org/users/dreschpe/code/TFT_fonts/#76774250fcec
diff -r 414a960bd52e -r 42e48610ba0f graphics.c --- a/graphics.c Wed Jun 12 22:56:43 2013 +0000 +++ b/graphics.c Tue Oct 14 11:02:54 2014 +0000 @@ -1,4 +1,4 @@ -unsigned char p1[] = { +unsigned char p1[100] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
diff -r 414a960bd52e -r 42e48610ba0f main.cpp --- a/main.cpp Wed Jun 12 22:56:43 2013 +0000 +++ b/main.cpp Tue Oct 14 11:02:54 2014 +0000 @@ -17,7 +17,7 @@ // the TFT is connected to SPI pin 11-14 -SPI_TFT_ILI9341 TFT(p5, p6, p7, p8, p9, p10,"TFT"); // mosi, miso, sclk, cs, reset, dc +SPI_TFT_ILI9341 TFT(PTD2, PTD3, PTD1, PTD0, PTD6, PTD5,"TFT"); // mosi, miso, sclk, cs, reset, dc int main() @@ -73,7 +73,7 @@ TFT.cls(); TFT.set_font((unsigned char*) Arial24x23); TFT.locate(0,0); - TFT.printf("Different Fonts :"); + TFT.printf("siet hello"); TFT.set_font((unsigned char*) Neu42x35); TFT.locate(0,30); @@ -95,12 +95,12 @@ TFT.Bitmap(90,90,172,55,p1); - wait(5); - TFT.cls(); - TFT.locate(10,10); - TFT.printf("Graphic from File System"); - TFT.locate(10,20); - TFT.printf("open test.bmp"); - int err = TFT.BMP_16(20,50,"test.bmp"); - if (err != 1) TFT.printf(" - Err: %d",err); + wait(5); + TFT.cls(); + TFT.locate(10,10); + TFT.printf("Graphic from File System"); + TFT.locate(10,20); + TFT.printf("open test.bmp"); + int err = TFT.BMP_16(20,50,"test.bmp"); + if (err != 1) TFT.printf(" - Err: %d",err); }
diff -r 414a960bd52e -r 42e48610ba0f mbed.bld --- a/mbed.bld Wed Jun 12 22:56:43 2013 +0000 +++ b/mbed.bld Tue Oct 14 11:02:54 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/b3110cd2dd17 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1 \ No newline at end of file