#accelerometer #analog-devices #adxl345 #i2c #interrupt #i2c-driver

adxl345-eh-driver

Rust embedded-hal device driver for the ADXL345 Analog Devices Digital Accelerometer

4 releases

0.2.2 Sep 17, 2024
0.2.1 Apr 28, 2024
0.2.0 Jan 11, 2024
0.1.0 Jul 7, 2023

#1407 in Embedded development

MIT license

12KB
224 lines

ADXL345 Accelerometer

A Rust device driver for the ADXL345 Analog Devices Digital Accelerometer.

Usage

    let mut accel = adxl345_eh_driver::Driver::new(i2c, None).unwrap();
    let (x, y, z) = accel.get_accel_raw().unwrap();

License

license

This tool is released under the MIT license, hence allowing commercial use of the library. Please refer to the LICENSE file.

Dependencies

~105KB