3 releases

0.0.3 Feb 13, 2024
0.0.2 Oct 27, 2023
0.0.1 Mar 26, 2022

#573 in Embedded development

44 downloads per month

MIT/Apache

71KB
993 lines

Build status Crates.io Docs.rs

BMA423 Rust driver

This is an experimental Rust driver for the BMA423 accelerometer.

What's working:

  • Getting x, y, z axis acceleration values
  • The motion detection feature
  • The tap detection feature
  • Configuring the interrupt pins
  • Mapping features to the interrupt pins (as outputs)

What's missing:

  • The step counter and step detection features
  • Activity classification feature
  • Wrist wakeup feature
  • Auxiliary interface configuration
  • FIFO configuration

Examples

You can find an example usage in this project: TTGO T-Watch v1 rust example.

Contributing

This project is open to contributions of any form, do not hesitate to open an issue or a pull-request if you have questions or suggestions.

Dependencies

~1.1–1.5MB
~36K SLoC