4 releases

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

#347 in Embedded development

Download history 1/week @ 2024-09-21 6/week @ 2024-09-28 1/week @ 2024-10-05 1/week @ 2024-10-12 166/week @ 2024-10-19 3/week @ 2024-10-26 12/week @ 2024-11-02

182 downloads per month

MIT/Apache

74KB
1K SLoC

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)
  • Remapping the axes

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

~0.3–0.8MB
~18K SLoC