# `lis2dh12`

[![Crate][crate-image]][crate-link]
[![Docs][docs-image]][docs-link]
[![Build Status][build-image]][build-link]
[![dependency status][deps-image]][deps-link]
![MIT licensed][license-image]

Platform-agnostic Rust driver for the LIS2DH12 accelerometer

## Resources
- [LIS2DH12 product page][product-page]
- [LIS2DH12 datasheet][datasheet]
- [LIS2DH12 application note (AN5005)][app-note]

## 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)

[crate-image]: https://img.shields.io/crates/v/lis2dh12.svg
[crate-link]: https://crates.io/crates/lis2dh12
[docs-image]: https://docs.rs/lis2dh12/badge.svg
[docs-link]: https://docs.rs/lis2dh12/
[build-image]: https://github.com/tkeksa/lis2dh12/workflows/ci/badge.svg
[build-link]: https://github.com/tkeksa/lis2dh12/actions
[deps-image]: https://deps.rs/repo/github/tkeksa/lis2dh12/status.svg
[deps-link]: https://deps.rs/repo/github/tkeksa/lis2dh12
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[product-page]: https://www.st.com/en/mems-and-sensors/lis2dh12.html
[datasheet]: https://www.st.com/resource/en/datasheet/lis2dh12.pdf
[app-note]: https://www.st.com/resource/en/application_note/dm00365457.pdf
