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-dev
Fork of Adafruit9-DOf_AHRS_Regler_Discrete by
Diff: Header/Adafruit_Sensor.h
- Revision:
- 1:8c4f93e10af3
- Parent:
- 0:772bf4786416
--- a/Header/Adafruit_Sensor.h Sat Mar 21 12:33:05 2015 +0000
+++ b/Header/Adafruit_Sensor.h Thu Oct 19 11:50:04 2017 +0000
@@ -37,6 +37,7 @@
#define SENSORS_PRESSURE_SEALEVELHPA (1013.25F) /**< Average sea level pressure is 1013.25 hPa */
#define SENSORS_DPS_TO_RADS (0.017453293F) /**< Degrees/s to rad/s multiplier */
#define SENSORS_GAUSS_TO_MICROTESLA (100) /**< Gauss to micro-Tesla multiplier */
+#define SENSORS_GAUSS_TO_MILLITESLA (0.1) /**< Gauss to micro-Tesla multiplier */
/** Sensor types */
typedef enum
@@ -105,7 +106,7 @@
{
float data[4];
sensors_vec_t acceleration; /**< acceleration values are in meter per second per second (m/s^2) */
- sensors_vec_t magnetic; /**< magnetic vector values are in micro-Tesla (uT) */
+ sensors_vec_t magnetic; /**< magnetic vector values are in milli-Tesla (mT) */
sensors_vec_t orientation; /**< orientation values are in degrees */
sensors_vec_t gyro; /**< gyroscope values are in rad/s */
float temperature; /**< temperature is in degrees centigrade (Celsius) */
