Motoo Tanaka / Mbed OS TFT_test_MAX32630FTHR

Dependencies:   BMI160 SPI_STMPE610 USBDevice UniGraphic max32630fthr

Revision:
3:43de31beea45
Parent:
2:d810dbdd716b
--- a/main.cpp	Fri Sep 22 05:12:59 2017 +0000
+++ b/main.cpp	Fri Sep 22 05:35:56 2017 +0000
@@ -340,12 +340,14 @@
     uint16_t x, y, z ;
     
     init_hardware() ;
+    backlight(0) ;
     initTFT() ;
+    backlight(1) ;
     
 #if USE_TTY
     tty->printf("MAX32630 test (%s)\n", __DATE__) ;
 #endif
-    tft->cls() ;
+//     tft->cls() ;
     for(;;) {
         switch(page) {
         case 0: