khang 230620

Dependencies:   ISL29011

Revision:
21:09d05faf0e13
Parent:
0:a151a6350d7f
Child:
22:d9bc10bbc433
diff -r 9ea0f3385ab3 -r 09d05faf0e13 examples/example_config.h
--- a/examples/example_config.h	Tue May 16 10:47:10 2017 -0500
+++ b/examples/example_config.h	Fri Jun 09 08:31:21 2017 -0500
@@ -8,6 +8,20 @@
 #define CLASS_C_EXAMPLE          5  // see class_c_example.cpp
 
 // the active example is the one that will be compiled
+#if !defined(ACTIVE_EXAMPLE)
 #define ACTIVE_EXAMPLE  OTA_EXAMPLE
+#endif
 
-#endif
\ No newline at end of file
+// the active channel plan is the one that will be compiled
+// options are :
+//      CP_US915
+//      CP_AU915
+//      CP_EU868
+//      CP_KR920
+//      CP_AS923
+//      CP_AS923_JAPAN
+#if !defined(CHANNEL_PLAN)
+#define CHANNEL_PLAN CP_US915
+#endif
+
+#endif