The classic dueling tanks game for mbed.
Dependencies: 4DGL-uLCD-SE DRV2605 EthernetInterface Game_Synchronizer MMA8452 SDFileSystem SparkfunAnalogJoystick mbed-rtos mbed wave_player
Fork of 2035_Tanks_Shell by
globals.h
- Committer:
- jford38
- Date:
- 2015-10-30
- Revision:
- 27:bd55ab4d137c
- Parent:
- misc/misc.h@ 23:77049670cae6
- Child:
- 28:8dbb85f35be6
File content as of revision 27:bd55ab4d137c:
#ifndef GLOBAL_H__
#define GLOBAL_H__
#define SKY_COLOR 0x7EC0EE
#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
#endif //GLOBAL_H__
