Shows how to use the display. Draws a bitmap from internal flash, some geometric shapes and some text

Dependencies:   DmTftLibrary mbed

Files at this revision

API Documentation at this revision

Comitter:
displaymodule
Date:
Fri Jul 04 10:34:20 2014 +0000
Parent:
0:486bf9d63b80
Child:
2:14024c30df8d
Commit message:
Misc bugfixes

Changed in this revision

DmTftLibrary.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/DmTftLibrary.lib	Tue May 20 15:37:27 2014 +0000
+++ b/DmTftLibrary.lib	Fri Jul 04 10:34:20 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/displaymodule/code/DmTftLibrary/#59be7fca4581
+http://mbed.org/users/displaymodule/code/DmTftLibrary/#6cd8c36cbdb3
--- a/main.cpp	Tue May 20 15:37:27 2014 +0000
+++ b/main.cpp	Fri Jul 04 10:34:20 2014 +0000
@@ -26,6 +26,11 @@
  * Typedefs and defines
  *****************************************************************************/
 
+/* Note that there are restrictions on which platforms that can use printf
+   in combinations with the DmTftLibrary. Some platforms (e.g. LPC1549 LPCXpresso)
+   use the same pins for USBRX/USBTX and display control. Printing will
+   cause the display to not work. Read more about this on the display's notebook
+   page. */
 //#define log(...) printf(__VA_ARGS__)
 #define log(...)
 
@@ -36,8 +41,8 @@
 //DmTftHX8353C tft;  /* DM_TFT18_101 */
 //DmTftS6D0164 tft;  /* DM_TFT22_102 */
 //DmTftIli9325 tft;  /* DM_TFT28_103 and DM_TFT24_104 */
-DmTftIli9341 tft;  /* DM_TFT28_105 */
-//DmTftSsd2119 tft;   /* DM_TFT35_107 */
+//DmTftIli9341 tft;  /* DM_TFT28_105 */
+DmTftSsd2119 tft;   /* DM_TFT35_107 */
 
 int bmpWidth, bmpHeight;
 uint8_t bmpImageoffset;
--- a/mbed.bld	Tue May 20 15:37:27 2014 +0000
+++ b/mbed.bld	Fri Jul 04 10:34:20 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/0b3ab51c8877
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/04dd9b1680ae
\ No newline at end of file