![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Revenge of the Mouse
Dependencies: 4DGL-uLCD-SE EthernetInterface Game_Synchronizer LCD_fonts MMA8452 SDFileSystem mbed-rtos mbed wave_player
Fork of 2035_Tanks_Shell by
Diff: globals/globals.h
- Revision:
- 18:18dfc9fb33b5
- Parent:
- 14:36c306e26317
--- a/globals/globals.h Wed Oct 28 04:30:22 2015 +0000 +++ b/globals/globals.h Wed Oct 28 06:36:24 2015 +0000 @@ -5,6 +5,19 @@ #define GND_COLOR 0x66CD00 #define TANK_RED 0xCD0000 #define TANK_BLUE 0x000080 + +#define U_BUTTON 0 +#define R_BUTTON 1 +#define D_BUTTON 2 +#define L_BUTTON 3 + +#define TURN_P1 0 +#define TURN_P2 1 + + + +#define ACC_THRESHOLD 0.25 + #define PI 3.1415926535797 int CONVERT_24_TO_16_BPP(int col_24);