A game for Lab 4 of ECE 4180

Dependencies:   4DGL-uLCD-SE LSM9DS1_Library SDFileSystem mbed-rtos mbed wave_player

Revision:
3:27889fffc2f7
Parent:
2:623f29bad35c
--- a/InputHandler.cpp	Thu Mar 10 22:51:12 2016 +0000
+++ b/InputHandler.cpp	Sat Mar 12 19:59:00 2016 +0000
@@ -23,14 +23,14 @@
 
 float InputHandler::getYAccel() {
     stdio_mutex.lock();
-    float temp = (yAccel);// + 1.0) / 2.0;
+    float temp = yAccel;
     stdio_mutex.unlock();
     return temp;
 }
 
 float InputHandler::getZAccel() {
     stdio_mutex.lock();
-    float temp = (zAccel);// + 1.0) / 2.0;
+    float temp = zAccel;
     stdio_mutex.unlock();
     return temp;
 }
@@ -60,6 +60,6 @@
         //printf("\t\txAccel: %.6f\n\ryAccel: %.6f\n\risPushed: %s", xAccel, yAccel, isPushed ? "true" : "false");
         stdio_mutex.unlock();
         
-        Thread::wait(20); // ~60Hz
+        Thread::wait(30); 
     } 
 }
\ No newline at end of file