![]() |
SparkFun BMI330 Arduino Library
v1.0.0-2-gdbddb99
Arduino Library for the SparkFun Qwiic BMI330 6-DoF IMU (Bosch BMI330)
|
One triaxial reading in raw 16-bit signed counts, as the registers hold it. More...
#include <sfDevBMI330.h>
Public Attributes | |
| int16_t | x = 0 |
| X axis, raw counts. More... | |
| int16_t | y = 0 |
| Y axis, raw counts. More... | |
| int16_t | z = 0 |
| Z axis, raw counts. More... | |
One triaxial reading in raw 16-bit signed counts, as the registers hold it.
Convert with accelRawToG() / gyroRawToDps(), or let getSensorData() do it. Keeping the raw form available matters for anything logging at rate: three int16_t are six bytes, where three floats are twelve, and the conversion can happen off the critical path.
| int16_t sfe_bmi330_raw_data_t::x = 0 |
X axis, raw counts.
| int16_t sfe_bmi330_raw_data_t::y = 0 |
Y axis, raw counts.
| int16_t sfe_bmi330_raw_data_t::z = 0 |
Z axis, raw counts.