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:
Thu Feb 19 01:49:53 2015 +0000
Parent:
2:ed52c8915226
Commit message:
FastWindow option tried and working

Changed in this revision

UniGraphic.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
diff -r ed52c8915226 -r 1cd979ad1e1d UniGraphic.lib
--- a/UniGraphic.lib	Wed Feb 18 12:21:13 2015 +0000
+++ b/UniGraphic.lib	Thu Feb 19 01:49:53 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/GraphicsDisplay/code/UniGraphic/#1749ae993cfe
+http://mbed.org/teams/GraphicsDisplay/code/UniGraphic/#668cf78ff93a
diff -r ed52c8915226 -r 1cd979ad1e1d main.cpp
--- a/main.cpp	Wed Feb 18 12:21:13 2015 +0000
+++ b/main.cpp	Thu Feb 19 01:49:53 2015 +0000
@@ -26,6 +26,7 @@
 void initTFT(void)
 {
     //Configure the display driver    
+    TFT.FastWindow(true) ;
     TFT.background(Black);
     TFT.foreground(White);
     wait(0.01) ;