Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SeeedStudioTFTv2 poirier-proj-95
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
- 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
