Mynput: Game controller for Color Quest.

Dependencies:   Adafruit_NeoPixel MMA8451Q PinDetect_KL25Z USBDevice mbed

Fork of idd_fa15_hw3_lauren_bill_tomas by IDD HW3

Files at this revision

API Documentation at this revision

Comitter:
tomasero
Date:
Mon Sep 21 03:26:53 2015 +0000
Parent:
5:f547509e5583
Commit message:
Improved responsiveness

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r f547509e5583 -r d5420bcf9ebe main.cpp
--- a/main.cpp	Sun Sep 20 00:47:40 2015 +0000
+++ b/main.cpp	Mon Sep 21 03:26:53 2015 +0000
@@ -14,8 +14,8 @@
 #define WRIST_LED_COUNT 16
 #define CHEST_LED_COUNT 24
 #define MMA8451_I2C_ADDRESS (0x1d<<1)
-#define COUNTER_MOD 10
-#define X_MOVEMENT_REPEATS 15
+#define COUNTER_MOD 100
+#define X_MOVEMENT_REPEATS 5
 
 #define LEAN_LEFT_THRESH -0.4
 #define LEAN_RIGHT_THRESH 0.4