Shuto Naruse
/
Eurobot2012_Beacons
Eurobot2012_Beacons
defines.h@1:b0aa1251016a, 2012-04-28 (annotated)
- Committer:
- narshu
- Date:
- Sat Apr 28 17:07:20 2012 +0000
- Revision:
- 1:b0aa1251016a
- Parent:
- 0:b8be0a00c4f8
Working revision!
Who changed what in which revision?
User | Revision | Line number | New 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 |