LCD

Dependencies:   LCDTFT TFT_fonts mbed

Fork of TFT_CJS_ssd01399_portver_prettyfont by Oxford CWM Team

Files at this revision

API Documentation at this revision

Comitter:
danlock10y
Date:
Wed Jun 08 15:21:02 2016 +0000
Parent:
3:4e8751f5e8fa
Commit message:
LCD ; ;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Jun 08 14:47:25 2016 +0000
+++ b/main.cpp	Wed Jun 08 15:21:02 2016 +0000
@@ -115,12 +115,19 @@
 
 int main()
 {
-    int i,j,cwid;
-    char message[32];
-    sprintf(message,"Dive-Computer");
+//    int i,j,cwid;
+//    char message[32];
+//    sprintf(message,"Dive-Computer");
+    
+    
+        MyLCD.vLCDTFTInit(1);
+     MyLCD.vLCDTFTFillScreen(ColorBlack);
     while(1) {
 
-        MyLCD.vLCDTFTInit(1);
+
+        MyLCD.vLCDTFTRectangle(24,24,29,29,1,ColorWhite);
+        
+        /*MyLCD.vLCDTFTInit(1);
         MyLCD.vLCDTFTFillScreen(ColorBlack);
         for(i=97; i<123; i++) {
             j=i-97;
@@ -148,7 +155,7 @@
 
 
         MyLCD.vLCDTFTFillScreen(ColorWhite);
-        waitbar(10,230,60,20,1,ColorBlack,ColorBlue,ColorRed,2);
+        waitbar(10,230,60,20,1,ColorBlack,ColorBlue,ColorRed,2);*/
 
     }// endwhile
 } //endmain
\ No newline at end of file