Simple BLE Radio tester and signal strength (RSSI) meter, using microbit radio lib.
config.h@0:28e881c1eb79, 2017-01-12 (annotated)
- Committer:
- dl7avf
- Date:
- Thu Jan 12 11:26:14 2017 +0000
- Revision:
- 0:28e881c1eb79
BLE radio tester and signal strength meter, initial.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dl7avf | 0:28e881c1eb79 | 1 | // config.h | 18698.01 ** 2017-01-12 |
dl7avf | 0:28e881c1eb79 | 2 | //------------------------------------------------------------- |
dl7avf | 0:28e881c1eb79 | 3 | // Radio tester and RSSI meter, |
dl7avf | 0:28e881c1eb79 | 4 | // checks for BLE radio communication of motiles in the same group. |
dl7avf | 0:28e881c1eb79 | 5 | |
dl7avf | 0:28e881c1eb79 | 6 | #ifndef __CONFIG_H__ |
dl7avf | 0:28e881c1eb79 | 7 | #define __CONFIG_H__ |
dl7avf | 0:28e881c1eb79 | 8 | |
dl7avf | 0:28e881c1eb79 | 9 | #define MICROBIT_BLE_ENABLED 0 |
dl7avf | 0:28e881c1eb79 | 10 | |
dl7avf | 0:28e881c1eb79 | 11 | #define ksHeader "Radio tester and RSSI meter (18698.01)" |
dl7avf | 0:28e881c1eb79 | 12 | #define radioGroupName "TESTUDINES" |
dl7avf | 0:28e881c1eb79 | 13 | #define radioGroupNumber 42 |
dl7avf | 0:28e881c1eb79 | 14 | #define radioTimeout 12 // seconds. |
dl7avf | 0:28e881c1eb79 | 15 | |
dl7avf | 0:28e881c1eb79 | 16 | // Miscellaneous constants: |
dl7avf | 0:28e881c1eb79 | 17 | |
dl7avf | 0:28e881c1eb79 | 18 | #define FALSE 0 |
dl7avf | 0:28e881c1eb79 | 19 | #define TRUE 1 |
dl7avf | 0:28e881c1eb79 | 20 | #define kGRAD 0xB0 // ° = 0xF8 too. |
dl7avf | 0:28e881c1eb79 | 21 | |
dl7avf | 0:28e881c1eb79 | 22 | #endif //__CONFIG_H__ |