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:
9:7f0c1261e905
Parent:
3:3b2b8b0955f9
Child:
11:3b5e035ffef9
--- a/accellerometro.h	Sat Nov 25 17:49:55 2017 +0000
+++ b/accellerometro.h	Wed Dec 13 21:06:23 2017 +0000
@@ -61,6 +61,9 @@
         ay = (float)accelCount[1]*aRes - accelBias[1];   
         az = (float)accelCount[2]*aRes - accelBias[2];  
    
+        fprintf(fp,"A%03.0f%03.0f%03.0f\n\r", 100*ax+400, 100*ay+400, 100*az+400); 
+
+   
         mpu6050.readGyroData(gyroCount);  // Read the x/y/z adc values
         mpu6050.getGres();
      
@@ -107,8 +110,6 @@
         pc.printf("q2 = %f\n\r", q[2]);
         pc.printf("q3 = %f\n\r", q[3]);      
         */
-    
-        
         
         // Define output variables from updated quaternion---these are Tait-Bryan angles, commonly used in aircraft orientation.
         // In this coordinate system, the positive z-axis is down toward Earth.