University of Plymouth - Stages 1, 2 and 3 / Mbed OS ELEC35XR-2019

Dependencies:   X_NUCLEO_IKS01A3 USBDevice

Files at this revision

API Documentation at this revision

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

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show diff for this revision Revisions of this file
--- 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