Eurobot2012_Beacons

Committer:
narshu
Date:
Wed Oct 17 22:26:33 2012 +0000
Revision:
3:bf8a2e4b8012
Parent:
0:b8be0a00c4f8
Commit before publishing

Who changed what in which revision?

UserRevisionLine numberNew contents of line
narshu 0:b8be0a00c4f8 1 #ifdef BEACON_0
narshu 0:b8be0a00c4f8 2 #define CODE 0x22 //Beacon 0: 0x22, 1: 0x44, 2: 0x88
narshu 0:b8be0a00c4f8 3 #define ON_CYCLE 20 // beacon 0 = 20, 1 = 30, 2 = 40
narshu 0:b8be0a00c4f8 4 #define OFF_CYCLE 40 // beacon 0 = 40, 1 = 30, 2 = 20#define CODE 0x22 //Beacon 0: 0x22, 1: 0x44, 2: 0x88
narshu 0:b8be0a00c4f8 5 #endif
narshu 0:b8be0a00c4f8 6
narshu 0:b8be0a00c4f8 7 #ifdef BEACON_1
narshu 0:b8be0a00c4f8 8 #define CODE 0x44 //Beacon 0: 0x22, 1: 0x44, 2: 0x88
narshu 0:b8be0a00c4f8 9 #define ON_CYCLE 30 // beacon 0 = 20, 1 = 30, 2 = 40
narshu 0:b8be0a00c4f8 10 #define OFF_CYCLE 30 // beacon 0 = 40, 1 = 30, 2 = 20#define CODE 0x22 //Beacon 0: 0x22, 1: 0x44, 2: 0x88
narshu 0:b8be0a00c4f8 11 #endif
narshu 0:b8be0a00c4f8 12
narshu 0:b8be0a00c4f8 13 #ifdef BEACON_2
narshu 0:b8be0a00c4f8 14 #define CODE 0x88 //Beacon 0: 0x22, 1: 0x44, 2: 0x88
narshu 0:b8be0a00c4f8 15 #define ON_CYCLE 40 // beacon 0 = 20, 1 = 30, 2 = 40
narshu 0:b8be0a00c4f8 16 #define OFF_CYCLE 20 // beacon 0 = 40, 1 = 30, 2 = 20#define CODE 0x22 //Beacon 0: 0x22, 1: 0x44, 2: 0x88
narshu 0:b8be0a00c4f8 17 #endif
narshu 0:b8be0a00c4f8 18
narshu 0:b8be0a00c4f8 19 #define T_CARRIER 25 //us