ciao

Dependencies:   X_NUCLEO_IKS01A2 mbed

Fork of HelloWorld_IKS01A2 by ST

Revision:
2:f23b144da50a
Parent:
1:4c13def99152
Child:
8:8f495e604424
--- a/main.cpp	Fri Aug 12 13:57:55 2016 +0000
+++ b/main.cpp	Fri Aug 19 12:13:37 2016 +0000
@@ -126,10 +126,10 @@
 
     printf("---\r\n");
 
-    magnetometer->GetAxes(axes);
+    magnetometer->Get_M_Axes(axes);
     printf("LSM303AGR [mag/mgauss]:  %6ld, %6ld, %6ld\r\n", axes[0], axes[1], axes[2]);
     
-    accelerometer->GetAxes(axes);
+    accelerometer->Get_X_Axes(axes);
     printf("LSM303AGR [acc/mg]:  %6ld, %6ld, %6ld\r\n", axes[0], axes[1], axes[2]);
 
     acc_gyro->Get_X_Axes(axes);