| Crates.io | adxl345-eh-driver |
| lib.rs | adxl345-eh-driver |
| version | 0.2.2 |
| created_at | 2023-07-07 15:42:11.777594+00 |
| updated_at | 2024-09-17 14:08:20.661437+00 |
| 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 | 16,060 |
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.