# `lis3dh-rs-async`

[![Crate][crate-image]][crate-link]
[![Docs][docs-image]][docs-link]
![MIT licensed][license-image]

Platform-agnostic Rust async driver for the ST LIS3DH 3-axis MEMS "nano" accelerometer.

## Resources

- [LIS3DH product page][product-page]
- [LIS3DH datasheet][datasheet]

### Examples (of the blocking version of this crate)

- [CPX](https://github.com/BenBergman/lis3dh-rs/blob/master/examples/cpx.rs)
- [Interrupts](https://github.com/tweedegolf/lis3dh-interrupt-demo)

## License

Dual licensed under your choice of either of:

 - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
   http://www.apache.org/licenses/LICENSE-2.0)
 - MIT license ([LICENSE-MIT](LICENSE-MIT) or
   http://opensource.org/licenses/MIT)

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.

[crate-image]: https://img.shields.io/crates/v/lis3dh-async.svg
[crate-link]: https://crates.io/crates/lis3dh-async
[docs-image]: https://docs.rs/lis3dh-async/badge.svg
[docs-link]: https://docs.rs/lis3dh-async/
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[product-page]: https://www.st.com/en/mems-and-sensors/lis3dh.html
[datasheet]: https://www.st.com/resource/en/datasheet/lis3dh.pdf
