TFT driver for ILI9341. I imported this library from Seeed-Studio-28-TFT-Touch-Shield-V20.
Dependents: TFT_sdcard TS_Eyes Tokei AfficheurTFTAdafruit ... more
Fork of SPI_TFT_ILI9341 by
Revision 8:32bf76e1ec9f, committed 2014-03-20
- Comitter:
- mazgch
- Date:
- Thu Mar 20 15:29:19 2014 +0000
- Parent:
- 7:3ac45671dc77
- Child:
- 9:b8bc8296da24
- Commit message:
- local files system dependency.
Changed in this revision
| SPI_TFT_ILI9341.cpp | Show annotated file Show diff for this revision Revisions of this file |
| SPI_TFT_ILI9341.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/SPI_TFT_ILI9341.cpp Wed Oct 23 01:34:51 2013 +0000
+++ b/SPI_TFT_ILI9341.cpp Thu Mar 20 15:29:19 2014 +0000
@@ -25,7 +25,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), _dc(dc), GraphicsDisplay(name)
+ : GraphicsDisplay(name), _spi(mosi, miso, sclk), _cs(cs), _dc(dc)
{
orientation = 0;
char_x = 0;
@@ -691,7 +691,7 @@
// local filesystem is not implemented in kinetis board
-#ifndef TARGET_KL25Z
+#if DEVICE_LOCALFILESYSTEM
int SPI_TFT_ILI9341::BMP_16(unsigned int x, unsigned int y, const char *Name_BMP)
{
--- a/SPI_TFT_ILI9341.h Wed Oct 23 01:34:51 2013 +0000
+++ b/SPI_TFT_ILI9341.h Thu Mar 20 15:29:19 2014 +0000
@@ -230,7 +230,7 @@
*/
void Bitmap(unsigned int x, unsigned int y, unsigned int w, unsigned int h,unsigned char *bitmap);
-
+#if DEVICE_LOCALFILESYSTEM
/** paint a 16 bit BMP from local filesytem on the TFT (slow)
*
* @param x,y : upper left corner
@@ -249,7 +249,7 @@
*/
int BMP_16(unsigned int x, unsigned int y, const char *Name_BMP);
-
+#endif
/** select the font to use
