Unina Corse EL / Mbed 2 deprecated f4_sd_imu_4

Dependencies:   SDFileSystem_conMOD mbed-rtos mbed

Fork of f4_sd_imu_4 by ratto killer

Revision:
11:3b5e035ffef9
Parent:
9:7f0c1261e905
--- a/accellerometro.h	Wed Dec 13 21:08:45 2017 +0000
+++ b/accellerometro.h	Sun Jan 21 20:40:24 2018 +0000
@@ -72,6 +72,8 @@
         gy = (float)gyroCount[1]*gRes; // - gyroBias[1];  
         gz = (float)gyroCount[2]*gRes; // - gyroBias[2];   
 
+    
+        invia_m(1000*ax+4000,1000*ay+4000,1000*az+4000,0,0,0);
         tempCount = mpu6050.readTempData();  // Read the x/y/z adc values
         temperature = (tempCount) / 340. + 36.53; // Temperature in degrees Centigrade
     }