Jason McNeely / Mbed 2 deprecated DuelingTanks

Dependencies:   4DGL-uLCD-SE DRV2605 EthernetInterface Game_Synchronizer MMA8452 SDFileSystem SparkfunAnalogJoystick mbed-rtos mbed wave_player

Fork of 2035_Tanks_Shell by ECE2035 Spring 2015 TA

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers globals.h Source File

globals.h

00001 #ifndef GLOBAL_H__
00002 #define GLOBAL_H__
00003 
00004 #define SKY_COLOR  0x7EC0EE
00005 #define GND_COLOR  0x66CD00
00006 #define TANK_RED   0xCD0000
00007 #define TANK_BLUE  0x000080
00008 #define BROWN      0x7E562E
00009 #define TREE       0x139216
00010 #define BLT_COLOR  0x090E16
00011 #define LT_BLUE    0x4C80FF
00012 #define LT_RED     0xFFABAA
00013 #define BARREL_GREY 0x0B090B
00014 #define ORANGE     0xFF6A00
00015 #define YELLOW     0xFFBA00
00016 #define LT_GREY    0xD1C9D0
00017 #define MED_GREY   0x787377
00018 #define DRK_GREY   0x473F43
00019 #define PIX        0x7EC1F0
00020 #define SHRUB      0x2D5D00
00021 
00022 #define U_BUTTON 0
00023 #define R_BUTTON 1
00024 #define D_BUTTON 2
00025 #define L_BUTTON 3
00026 
00027 #define TURN_P1 0
00028 #define TURN_P2 1
00029 
00030 #define ACC_THRESHOLD 0.25
00031 
00032 #define PI  3.1415926535797
00033 
00034 
00035 #endif //GLOBAL_H__