Log measurements on SD card added on DISCO-L476VG board acceleration, omega, compass & 5 Analog values

Dependencies:   BSP_DISCO_L476VG COMPASS_DISCO_L476VG ConfigFile GYRO_DISCO_L476VG SDFileSystem mbed

Revision:
0:0861bf46efe4
Child:
1:e1f3b4b8b99b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Feb 12 20:54:38 2016 +0000
@@ -0,0 +1,35 @@
+#include "mbed.h"
+
+#include "DefinitionIO.h"
+
+ 
+    
+
+
+int main()
+{
+    
+    Init();
+  
+    
+    
+  
+    while(1) {
+      Mesures.Update();
+    
+      CheckEnreg();
+        // Read acceleremoter and magnetometer values
+        
+        // Display values      
+       /* printf("Acc X = %d\n", lAcc[0]);
+        printf("Acc Y = %d\n", lAcc[1]);
+        printf("Acc Z = %d\n", lAcc[2]);
+        printf("Mag X = %d\n", lMag[0]);
+        printf("Mag Y = %d\n", lMag[1]);
+        printf("Mag Z = %d\n", lMag[2]);
+        printf("\n\r"); */
+      
+      
+        wait(1);
+    }
+}