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