2025-01-12 00:53:26 +01:00

9 lines
225 B
Rust

/// LSM6DS3TR-C's ID
pub const LSM6DS3TR_ID: u8 = 0x6A;
/// Temperature scale = 256 LSB/°C
pub const TEMP_SCALE: f32 = 256.0;
/// The output of the temperature sensor is 0 (typ.) at 25 °C
pub const TEMP_BIAS: f32 = 25.0;