For Nikhil

Dependencies:   4DGL-uLCD-SE EthernetInterface Game_Synchronizer MMA8452 SDFileSystem mbed-rtos mbed wave_player

Fork of 2035_Tanks_Shell by ECE2035 Spring 2015 TA

Revision:
3:3ddefff03cb2
Parent:
2:c358ad9aedc4
Child:
4:d8bd8b41468d
--- a/main.cpp	Mon Oct 12 04:23:24 2015 +0000
+++ b/main.cpp	Mon Oct 12 08:20:31 2015 +0000
@@ -17,15 +17,23 @@
     uLCD.init();
     pc.printf("Initialized...\n");
     while(1) {
-        uLCD.background_color(BLUE);
+        
         uLCD.cls();
+        uLCD.background_color(0xAB);
+        uLCD.line(1,1,2,2, 0xAB);
+        uLCD.circle(10,10,100, 0xAB);
+        //uLCD.filled_circle(4,4,10, 0xAB);
+        //uLCD.triangle(1,1, 2,2, 0,3, 0xAB);
+        //uLCD.rectangle(0,0, 1,1, 0xAB);
+        //uLCD.filled_rectangle(1,1, 2,2, 0xAB);
+        //uLCD.pixel(40, 40, 0xAB);
+        //uLCD.pen_size(4);
+        
+        
         uLCD.update();
-        pc.printf("Updated. \n");
         buttons = uLCD.get_button_state();
         pc.printf("Button State: %x %x %x %x %x\n", buttons[0], buttons[1], buttons[2], buttons[3], buttons[4]);
-        wait(0.5);
+        wait(1);
         //pc.printf("\033[2J\033[0;0H");
-    }
-    //
-    //uLCD.line(0,0,200,200,BLACK);    
+    } 
 }
\ No newline at end of file