blue mbed code for the BNO055 imu from adafruit

Dependencies:   BNO055 MODSERIAL mbed

Fork of bmbed_lidar_belt by sensory_array

Revision:
6:9ae0e867efed
Parent:
5:d4ed744beea2
Child:
12:6deb3b41c9e3
--- a/main.cpp	Sat Oct 03 23:10:51 2015 +0000
+++ b/main.cpp	Sat Oct 03 23:12:36 2015 +0000
@@ -146,8 +146,8 @@
             i++;}
         int distance2 = (receiveData2[0]<<8 )+ receiveData2[1];
         if(distance2 >= UP_MIN && distance2 < UP_MAX) {
-            pulses[5] = 1; ///5
-            intensity[5] = 0;   ///7
+            pulses[5] = 1; ///TODO WAS: 5
+            intensity[5] = 0;   ///TODO: 7
         } else {
             pulses[5] = 1;
             intensity[5] = 0;
@@ -169,8 +169,8 @@
             int ave = (int)(differenceAvgSum/5);
             //pc.printf("down_cal: %d \t diff: %d \t distance: %d\n",down_cal, ave, distance3);
             if(ave >= DOWN_DIFF) {
-                pulses[6] = 1; //turned OFFFFFF
-                intensity[6] = 0;
+                pulses[6] = 1; //TODO: Fix with IMU , right now turned off
+                intensity[6] = 0; //TODO: Fix with IMU , right now turned off
             } else {
                 pulses[6] = 1; 
                 intensity[6] = 0;