Example of using the mDot UDK with the X-NUCLEO-IKS01A2 board

Dependencies:   MTS_X_NUCLEO_IKS01A2 libmDot-mbed5

Fork of mDot-IKS01A1 by Peter Ferland

Revision:
15:fb9fa3ac530e
Parent:
13:e165a137c3af
--- a/main.cpp	Fri Jan 26 17:55:02 2018 +0000
+++ b/main.cpp	Tue Jan 30 17:05:52 2018 +0000
@@ -55,7 +55,7 @@
 static bool public_network = false;
 #endif
 static uint8_t ack = 0;
-static uint8_t tx_datarate = mDot::SF_7;
+static uint8_t tx_datarate = lora::DR_3;
 
 // deepsleep consumes slightly less current than sleep
 // in sleep mode, IO state is maintained, RAM is retained, and application will resume after waking up