Tobi's ubw test branch

Dependencies:   mavlink_bridge mbed

Fork of AIT_UWB_Range by Benjamin Hepp

Revision:
58:b824bdac7cd8
Parent:
57:b4e7324b0faf
Child:
59:8fee21cddf92
--- a/main.cpp	Mon Jan 04 20:06:38 2016 +0000
+++ b/main.cpp	Mon Jan 04 20:55:33 2016 +0000
@@ -147,6 +147,7 @@
             if (!MAVLINK_COMM)
                 pc.printf("This node is a Beacon\r\n");
         }
+        node.setInterrupt(false);
 
         /*uint8_t remote_address = ANCHOR_ADDRESS_OFFSET + 0;
         node.requestRanging(remote_address);
@@ -161,7 +162,9 @@
     
     //for (int j = 0; j < NUM_OF_DW_UNITS; ++j) {
                 MM2WayRanging& node = *node_array[0];
+                node.setInterrupt(true);
                 rangeAndDisplayAll(node, mb, timer);
+                node.setInterrupt(false);
                 wait(0.1);
   //          }