Sending IKS01A1 temperature sensor to LoRaWAN port-5 uplink

Dependencies:   X_NUCLEO_IKS01A1 mbed LoRaWAN-lib SX1276Lib

Fork of LoRaWAN-demo-76 by Semtech

Use IKS01A1 sensor shield with SX1272 shield or SX1276 shield.

Sends temperature sensor to LoRaWAN uplink port 5.


Remove SB22 and SB23 from IKS01A1 before using

SB28 conflicts with DIO0 on radio. (TxDone RxDone)

SB22 conflicts with RxTx on radio. (antenna switch)

Revision:
1:352f608c3337
Parent:
0:92bca02df485
Child:
3:9c6f7f082151
--- a/board/board.h	Tue Oct 20 13:23:35 2015 +0000
+++ b/board/board.h	Thu Nov 26 12:59:52 2015 +0000
@@ -16,9 +16,14 @@
 #define __BOARD_H__
 
 #include "mbed.h"
-#include "timer.h"
+#include "system/timer.h"
 #include "debug.h"
-#include "utilities.h"
+#include "system/utilities.h"
+#include "sx1276-hal.h"
+
+#define USE_BAND_915_HYBRID
+
+extern SX1276MB1xAS Radio;
 
 /*!
  * \brief Initializes the target board peripherals.
@@ -30,7 +35,7 @@
  *
  * \retval value  battery level ( 0: very low, 254: fully charged )
  */
-uint8_t BoardGetBatterieLevel( void );
+uint8_t BoardGetBatteryLevel( void );
 
 
 #endif // __BOARD_H__