Use LoRaWAN on mDot with IKS01A1 sensor board plugged into UDK board.
Dependencies: X_NUCLEO_IKS01A1 mbed LoRaWAN-lib SX1272Lib
Fork of LoRaWAN-demo-72 by
This project uses IKS01A1 driver library with pin definitions for mDot UDK arduino headers.
The mDot platform doesnt define arduino header pins, so they must be defined in the IKS01A1 driver library header.
Diff: system/timer.h
- Revision:
- 5:62862ef9480b
- Parent:
- 3:3152aa75c58d
--- a/system/timer.h Wed May 18 11:33:36 2016 +0000 +++ b/system/timer.h Tue Jul 05 15:00:47 2016 +0000 @@ -22,7 +22,7 @@ */ typedef struct TimerEvent_s { - uint32_t value; + uint64_t value; void ( *Callback )( void ); Ticker Timer; }TimerEvent_t; @@ -31,7 +31,7 @@ * \brief Timer time variable definition */ #ifndef TimerTime_t -typedef uint32_t TimerTime_t; +typedef uint64_t TimerTime_t; #endif /*!