Trait lis2dh12::Accelerometer
source · pub trait Accelerometer {
type Error: Debug;
// Required methods
fn accel_norm(&mut self) -> Result<F32x3, Error<Self::Error>>;
fn sample_rate(&mut self) -> Result<f32, Error<Self::Error>>;
}
Expand description
Accelerometer trait which provides g-normalized readings.