light sensor

Dependencies:   X_NUCLEO_IKS01A1 LoRaWAN-lib SX1276Lib mbed

Fork of LoRaWAN-SX1276-Application-Demo by Uttam Bhat

Revision:
2:78df92a365c2
Parent:
1:80c1daf19aa4
Child:
3:4bca7f8f731a
--- a/app/Config.h	Fri Aug 26 20:51:07 2016 +0000
+++ b/app/Config.h	Sat Aug 27 04:03:02 2016 +0000
@@ -63,7 +63,7 @@
 /*!
  * LoRaWAN application port
  */
-#define LORAWAN_APP_PORT                            11
+#define LORAWAN_APP_PORT                            8
 
 /*!
  * LoRaWAN User defined Tx Power
@@ -84,23 +84,12 @@
 
 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
-#elif ( LORAWAN_APP_PORT == 6 )
+#elif ( LORAWAN_APP_PORT == 8 )
 /*====================================================
-                SENET M2X DEMO (PORT 6)
+                IKS01A1 SENSOR DATA (PORT 8)
 ====================================================*/
 
-/*!
- * User application data buffer size
- */
-#define LORAWAN_APP_DATA_SIZE                       2
-
-/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
-
-#elif ( LORAWAN_APP_PORT == 7 )
-/*====================================================
-                SENET GPS DEMO (PORT 7)
-====================================================*/
-
+#define USE_IKS01A1_SENSOR
 /*!
  * User application data buffer size
  */
@@ -120,19 +109,6 @@
 
 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
-#elif ( LORAWAN_APP_PORT == 12 )
-/*====================================================
-                TRANSMIT ON VERTICAL ORIENTATION DEMO (PORT 12)
-====================================================*/
-
-/*!
- * User application data buffer size
- */
-#define LORAWAN_APP_DATA_SIZE                       2
-
-/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
-
-
 #endif
 
 #endif //  __LORA_CONFIG_H__