Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed X_NUCLEO_IKS01A2 mbed-dsp
Diff: main.cpp
- 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);