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: X_NUCLEO_IKS01A3 USBDevice
Revision 3:9f8fadc965fc, committed 2019-05-24
- Comitter:
- cparata
- Date:
- Fri May 24 11:20:13 2019 +0000
- Parent:
- 2:3d7dd9c0bde4
- Child:
- 4:44bf486fd3cf
- Commit message:
- Update mbed library to support mbed-os
Changed in this revision
--- a/main.cpp Fri Apr 12 13:34:50 2019 +0000
+++ b/main.cpp Fri May 24 11:20:13 2019 +0000
@@ -135,16 +135,16 @@
printf("---\r\n");
magnetometer->get_m_axes(axes);
- printf("LIS2MDL [mag/mgauss]: %6ld, %6ld, %6ld\r\n", axes[0], axes[1], axes[2]);
+ printf("LIS2MDL [mag/mgauss]: %6d, %6d, %6d\r\n", axes[0], axes[1], axes[2]);
accelerometer->get_x_axes(axes);
- printf("LIS2DW12 [acc/mg]: %6ld, %6ld, %6ld\r\n", axes[0], axes[1], axes[2]);
+ printf("LIS2DW12 [acc/mg]: %6d, %6d, %6d\r\n", axes[0], axes[1], axes[2]);
acc_gyro->get_x_axes(axes);
- printf("LSM6DSO [acc/mg]: %6ld, %6ld, %6ld\r\n", axes[0], axes[1], axes[2]);
+ printf("LSM6DSO [acc/mg]: %6d, %6d, %6d\r\n", axes[0], axes[1], axes[2]);
acc_gyro->get_g_axes(axes);
- printf("LSM6DSO [gyro/mdps]: %6ld, %6ld, %6ld\r\n", axes[0], axes[1], axes[2]);
+ printf("LSM6DSO [gyro/mdps]: %6d, %6d, %6d\r\n", axes[0], axes[1], axes[2]);
wait(1.5);
}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os.lib Fri May 24 11:20:13 2019 +0000 @@ -0,0 +1,1 @@ +https://github.com/armmbed/mbed-os/#73f096399b4cda1f780b140c87afad9446047432
--- a/mbed.bld Fri Apr 12 13:34:50 2019 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file