Cargo Features
Mpu9250 has no features set by default.
[dependencies]
mpu9250 = { version = "0.25.0", features = ["i2c", "dmp"] }
- i2c
-
Enable the I2C MPU interface. This disables the SPI interface. All function names remain consistent. Arguments change from (SPI, nCS) pairs to I2C
- dmp = libm
-
Enable the use of the internal DMP features
Affects
types::Dmp
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.