Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 2.53 KB

CHANGELOG.md

File metadata and controls

77 lines (57 loc) · 2.53 KB

Changelog

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

Changed

  • [breaking-change] Update to embedded-hal 1.0.

0.3.0 - 2023-07-17

Added

  • Support temperature sensor.
  • Support magnetometer offset cancellation.
  • Allow getting AccelOutputDataRate and MagOutputDataRate from Hertz.
  • Allow enabling/disabling magnetometer low-pass filter.
  • Allow configuring accelerometer FIFO and interrupts.
  • Allow changing magnetometer mode.

Changed

  • [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

Fixed

  • Document that the scaled magnetometer data is returned in nanoteslas (nT), not milligauss (mG). Thanks to @hargoniX.

0.2.1 - 2021-09-01

Changed

  • Measurement and UnscaledMeasurement now implement Copy.

0.2.0 - 2021-07-13

Added

  • Methods to verify device IDs. Thanks to @robyoung.
  • Support setting accelerometer scale via set_accel_scale(). Thanks to @robyoung.

Changed

  • [breaking-change] accel_data() and mag_data() now return scaled measurements. To get unscaled data, use the methods accel_data_unscaled() and mag_data_unscaled(). Thanks to @robyoung.

Fixed

  • Reset all ODR bits on powerdown. Thanks to @robyoung.

0.1.1 - 2021-03-27

Added

  • Support setting magnetometer output data rate.
  • Support magnetometer mode change.
  • Support reading magnetometer data.

Fixed

  • Derive Debug for device operation mode markers. Thanks to @chrysn.

0.1.0 - 2020-09-13

Initial release to crates.io.