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.
Fork of IMU_code_7_14 by
Diff: IMU_code.cpp
- Revision:
- 3:232de5807dac
- Parent:
- 2:b00adea2187b
--- a/IMU_code.cpp Mon Jul 17 14:23:51 2017 +0000
+++ b/IMU_code.cpp Fri Jul 21 13:29:26 2017 +0000
@@ -157,9 +157,15 @@
float IMU_code::IMU_pitch()
{
- return stab_accel[2]; //using the yaw axis
+ return stab_accel[1]; //using the pitch axis
+ //return (stab_accel[2]);
}
+/*float IMU_code::IMU_yaw()
+{
+ return stab_accel[2];
+}*/
+
double double_from_le_bytes(unsigned char * p_to_double)
{
unsigned char temp[8];
