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:
0:899c85cd266f
Child:
1:0589ea36661b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Oct 06 01:54:18 2015 +0000
@@ -0,0 +1,28 @@
+// THIS GUY LISTENS AND REPEATS. CLIENT. MASTER.
+// (It doesn't make sense, I know.)
+
+#include "mbed.h"
+#include "two_player.h"
+
+
+uLCD_2P uLCD(p28,p27,p26, PLAYER1); // serial tx, serial rx, reset pin;
+
+ 
+int main (void) {
+
+    pc.printf("I'm alive! Player 1\n");
+
+    uLCD.init();
+    pc.printf("Initialized...\n");
+    while(1) {
+        uLCD.set_button_state(1,0,1,0,1);
+        uLCD.background_color(BLUE);
+        uLCD.cls();
+        uLCD.update();
+        pc.printf("Updated. \n");
+        wait(1);
+        pc.printf("\033[2J\033[0;0H");
+    }
+    //
+    //uLCD.line(0,0,200,200,BLACK);    
+}
\ No newline at end of file