DOT_Example_16_10_2018
Dependencies: libmDot-mbed5 ISL29011
examples/example_config.h@0:6a6c127cf398, 2018-10-16 (annotated)
- Committer:
- nguyenhoang9x5555
- Date:
- Tue Oct 16 08:05:27 2018 +0000
- Revision:
- 0:6a6c127cf398
DOT_EXample_16_10_2018
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nguyenhoang9x5555 | 0:6a6c127cf398 | 1 | #ifndef __EXAMPLE__CONFIG_H__ |
nguyenhoang9x5555 | 0:6a6c127cf398 | 2 | #define __EXAMPLE__CONFIG_H__ |
nguyenhoang9x5555 | 0:6a6c127cf398 | 3 | |
nguyenhoang9x5555 | 0:6a6c127cf398 | 4 | #define OTA_EXAMPLE 1 // see ota_example.cpp |
nguyenhoang9x5555 | 0:6a6c127cf398 | 5 | #define AUTO_OTA_EXAMPLE 2 // see auto_ota_example.cpp |
nguyenhoang9x5555 | 0:6a6c127cf398 | 6 | #define MANUAL_EXAMPLE 3 // see manual_example.cpp |
nguyenhoang9x5555 | 0:6a6c127cf398 | 7 | #define PEER_TO_PEER_EXAMPLE 4 // see peer_to_peer_example.cpp |
nguyenhoang9x5555 | 0:6a6c127cf398 | 8 | #define CLASS_C_EXAMPLE 5 // see class_c_example.cpp |
nguyenhoang9x5555 | 0:6a6c127cf398 | 9 | |
nguyenhoang9x5555 | 0:6a6c127cf398 | 10 | // the active example is the one that will be compiled |
nguyenhoang9x5555 | 0:6a6c127cf398 | 11 | #if !defined(ACTIVE_EXAMPLE) |
nguyenhoang9x5555 | 0:6a6c127cf398 | 12 | #define ACTIVE_EXAMPLE OTA_EXAMPLE |
nguyenhoang9x5555 | 0:6a6c127cf398 | 13 | #endif |
nguyenhoang9x5555 | 0:6a6c127cf398 | 14 | |
nguyenhoang9x5555 | 0:6a6c127cf398 | 15 | // the active channel plan is the one that will be compiled |
nguyenhoang9x5555 | 0:6a6c127cf398 | 16 | // options are : |
nguyenhoang9x5555 | 0:6a6c127cf398 | 17 | // CP_US915 |
nguyenhoang9x5555 | 0:6a6c127cf398 | 18 | // CP_AU915 |
nguyenhoang9x5555 | 0:6a6c127cf398 | 19 | // CP_EU868 |
nguyenhoang9x5555 | 0:6a6c127cf398 | 20 | // CP_KR920 |
nguyenhoang9x5555 | 0:6a6c127cf398 | 21 | // CP_AS923 |
nguyenhoang9x5555 | 0:6a6c127cf398 | 22 | // CP_AS923_JAPAN |
nguyenhoang9x5555 | 0:6a6c127cf398 | 23 | // CP_IN865 |
nguyenhoang9x5555 | 0:6a6c127cf398 | 24 | #if !defined(CHANNEL_PLAN) |
nguyenhoang9x5555 | 0:6a6c127cf398 | 25 | #define CHANNEL_PLAN CP_AS923 |
nguyenhoang9x5555 | 0:6a6c127cf398 | 26 | #endif |
nguyenhoang9x5555 | 0:6a6c127cf398 | 27 | |
nguyenhoang9x5555 | 0:6a6c127cf398 | 28 | #endif |