programme pour l'ecran TFT-ST7735

Dependencies:   mbed DmTftLibrary

Revision:
1:4a281af0d8e6
Parent:
0:486bf9d63b80
Child:
2:14024c30df8d
diff -r 486bf9d63b80 -r 4a281af0d8e6 main.cpp
--- 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;