Shows how to use the display. Draws a bitmap from internal flash, some geometric shapes and some text
Dependencies: DmTftLibrary mbed
Revision 4:d58fe9f48040, committed 2015-01-22
- Comitter:
- displaymodule
- Date:
- Thu Jan 22 03:06:58 2015 +0000
- Parent:
- 3:c5418fd50f4a
- Child:
- 5:47192882d9d0
- Commit message:
- Add DM_TFT43_108, DM_TFT50_111 based on new lib drv: DmTftRa8875
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 |
--- a/DmTftLibrary.lib Wed Jul 09 08:38:24 2014 +0000 +++ b/DmTftLibrary.lib Thu Jan 22 03:06:58 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/displaymodule/code/DmTftLibrary/#d263094e666d +http://mbed.org/users/displaymodule/code/DmTftLibrary/#264e19992620
--- a/main.cpp Wed Jul 09 08:38:24 2014 +0000 +++ b/main.cpp Thu Jan 22 03:06:58 2015 +0000 @@ -21,6 +21,7 @@ #include "DmTftIli9325.h" #include "DmTftIli9341.h" #include "DmTftSsd2119.h" +#include "DmTftRa8875.h" /****************************************************************************** * Typedefs and defines @@ -38,11 +39,12 @@ * Local variables *****************************************************************************/ -DmTftHX8353C tft; /* DM_TFT18_101 */ +//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 */ +//DmTftSsd2119 tft; /* DM_TFT35_107 */ +DmTftRa8875 tft; /* DM_TFT43_108 and DM_TFT50_111 For DmTftRa8875 driver, The panel resolution should be config in DmTftRa8875::init() function on the DmTftRa8875.cpp file. */ int bmpWidth, bmpHeight; uint8_t bmpImageoffset;