#accelerometer #driver

no-std lis3dsh

Driver for the LIS3DSH accelerometer

1 unstable release

0.1.0 May 15, 2020

#46 in #accelerometer

22 downloads per month

MIT license

12KB
193 lines

LIS3DSH rust driver

This crate provides a driver for the LIS3DSH accelerometer based on the embedded-hal crate's interfaces.

Build Status

License

This crate is distributed under the MIT License. See the LICENSE file for the full licence text.


lib.rs:

A driver for the LIS3DSH accelerometer

This crate provides implementations using either the SPI and I2C interface, with a simplified interface abstrcting away the serial port being used. The embedded_hal crate is used to define the interface to both serial buses.

Dependencies

~71KB