Crates.io | adxl345-eh-driver |
lib.rs | adxl345-eh-driver |
version | 0.2.1 |
source | src |
created_at | 2023-07-07 15:42:11.777594 |
updated_at | 2024-04-28 17:49:50.143671 |
description | Rust embedded-hal device driver for the ADXL345 Analog Devices Digital Accelerometer |
homepage | |
repository | https://gitlab.com/scrobotics/embedded-rs/adxl234-rs |
max_upload_size | |
id | 910883 |
size | 15,804 |
A Rust device driver for the ADXL345 Analog Devices Digital Accelerometer.
let mut accel = adxl345_eh_driver::Driver::new(i2c, None).unwrap();
let (x, y, z) = accel.get_accel_raw().unwrap();
This tool is released under the MIT license, hence allowing commercial use of the library. Please refer to the LICENSE file.