Eurobot2012_Beacons

defines.h

Committer:
narshu
Date:
2012-10-17
Revision:
3:bf8a2e4b8012
Parent:
0:b8be0a00c4f8

File content as of revision 3:bf8a2e4b8012:

#ifdef  BEACON_0
#define CODE 0x22 //Beacon 0: 0x22, 1: 0x44, 2: 0x88
#define ON_CYCLE    20  // beacon 0 = 20, 1 = 30, 2 = 40
#define OFF_CYCLE   40  // beacon 0 = 40, 1 = 30, 2 = 20#define CODE 0x22 //Beacon 0: 0x22, 1: 0x44, 2: 0x88
#endif

#ifdef  BEACON_1
#define CODE 0x44 //Beacon 0: 0x22, 1: 0x44, 2: 0x88
#define ON_CYCLE    30  // beacon 0 = 20, 1 = 30, 2 = 40
#define OFF_CYCLE   30  // beacon 0 = 40, 1 = 30, 2 = 20#define CODE 0x22 //Beacon 0: 0x22, 1: 0x44, 2: 0x88
#endif

#ifdef  BEACON_2
#define CODE 0x88 //Beacon 0: 0x22, 1: 0x44, 2: 0x88
#define ON_CYCLE    40  // beacon 0 = 20, 1 = 30, 2 = 40
#define OFF_CYCLE   20  // beacon 0 = 40, 1 = 30, 2 = 20#define CODE 0x22 //Beacon 0: 0x22, 1: 0x44, 2: 0x88
#endif

#define T_CARRIER 25 //us