All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
1.1.0 - 2024-06-24
- Add support for async behind the
async
feature flag
- Update MSRV to 1.75.0
1.0.0 - 2024-01-22
- [breaking-change] Update to embedded-hal 1.0.
0.3.0 - 2023-07-17
- Support temperature sensor.
- Support magnetometer offset cancellation.
- Allow getting
AccelOutputDataRate
andMagOutputDataRate
from Hertz. - Allow enabling/disabling magnetometer low-pass filter.
- Allow configuring accelerometer FIFO and interrupts.
- Allow changing magnetometer mode.
- [breaking-change] Reduce size of status structs.
- [breaking-change] Simplify API by using explicit types for each measurement.
- Pass delay into functions to handle turn-on times.
- Add explicit types for accelerometer and magnetometer IDs.
- Combine methods for changing mode and ODR.
- Minimum supported Rust version has been upgraded to 1.60.0.
0.2.2 - 2021-09-21
- Document that the scaled magnetometer data is returned in nanoteslas (nT), not milligauss (mG). Thanks to @hargoniX.
0.2.1 - 2021-09-01
Measurement
andUnscaledMeasurement
now implementCopy
.
0.2.0 - 2021-07-13
- Methods to verify device IDs. Thanks to @robyoung.
- Support setting accelerometer scale via
set_accel_scale()
. Thanks to @robyoung.
- [breaking-change]
accel_data()
andmag_data()
now return scaled measurements. To get unscaled data, use the methodsaccel_data_unscaled()
andmag_data_unscaled()
. Thanks to @robyoung.
- Reset all ODR bits on powerdown. Thanks to @robyoung.
0.1.1 - 2021-03-27
- Support setting magnetometer output data rate.
- Support magnetometer mode change.
- Support reading magnetometer data.
- Derive
Debug
for device operationmode
markers. Thanks to @chrysn.
0.1.0 - 2020-09-13
Initial release to crates.io.