NeoBirth / ADXL343.rs

Rust ADXL343 accelerometer driver which uses I²C via embedded-hal
Apache License 2.0
7 stars 8 forks source link

Provide access to raw accelerometer data #4

Closed tarcieri closed 5 years ago

tarcieri commented 5 years ago

This commit adds an Xyz type for obtaining the raw data directly from the accelerometer (as u16), as opposed to computed acceleration as a floating point value.