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:
7:d2052933ebcb
Parent:
6:9e6ac13de3e9
Child:
8:bfbc3dd47166
--- a/main.cpp	Thu Dec 15 16:22:10 2016 +0000
+++ b/main.cpp	Thu Dec 15 23:50:05 2016 +0000
@@ -53,11 +53,9 @@
 
     /* Initialize mDot */
     dot = mDot::getInstance();
+    dot->setAdr(true);
     mts::MTSLog::setLogLevel(mts::MTSLog::INFO_LEVEL);
     dot->setEvents(&events);
-
-
-
     
 
     if (!dot->getStandbyFlag()) {
@@ -113,7 +111,7 @@
         if (!dot->getNetworkJoinStatus()) {
             join_network();
         }
-        // Retrieve sensor data and prepare the packet.
+
         //temp floats
         float value1, value2;