Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
defines.h@3:bf8a2e4b8012, 2012-10-17 (annotated)
- 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?
| 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 |