Mynput: Game controller for Color Quest.
Dependencies: Adafruit_NeoPixel MMA8451Q PinDetect_KL25Z USBDevice mbed
Fork of idd_hw3 by
Diff: main.cpp
- Revision:
- 6:d5420bcf9ebe
- Parent:
- 5:f547509e5583
--- 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