adxl345-eh-driver

Crates.ioadxl345-eh-driver
lib.rsadxl345-eh-driver
version0.2.2
sourcesrc
created_at2023-07-07 15:42:11.777594
updated_at2024-09-17 14:08:20.661437
descriptionRust embedded-hal device driver for the ADXL345 Analog Devices Digital Accelerometer
homepage
repositoryhttps://gitlab.com/scrobotics/embedded-rs/adxl234-rs
max_upload_size
id910883
size16,060
Xabi Crespo (crespum)

documentation

README

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.

Commit count: 40

cargo fmt