My first trial of using UniGraphic library.

Dependencies:   MMA8451Q SPI_STMPE610 UniGraphic mbed

Files at this revision

API Documentation at this revision

Comitter:
Rhyme
Date:
Wed Feb 18 12:21:13 2015 +0000
Parent:
1:6cd56ddffb40
Child:
3:1cd979ad1e1d
Commit message:
Incomplete cls() problem fixed by Geremia-san's suggestion. (^ ^)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Feb 18 00:55:40 2015 +0000
+++ b/main.cpp	Wed Feb 18 12:21:13 2015 +0000
@@ -254,9 +254,11 @@
             break ;
         case 2:
             if (prevPage != page) {
+                TFT.BusEnable(true) ;
                 TFT.background(Black) ;
                 TFT.foreground(White) ;
                 TFT.cls() ;
+                TFT.BusEnable(false) ;
             }
             screen3() ; 
             wait(2) ;