#gyroscope #embedded-hal-driver #mems #temperature-sensor

no-std i3g4250d

A platform agnostic driver to interface the I3G4250D (gyroscope)

1 unstable release

0.3.0 Nov 10, 2020

#1051 in Embedded development

MIT/Apache

15KB
289 lines

i3g4250d

A platform agnostic driver to interface with the I3G4250D (gyroscope)

This crate is a modification of the l3dg20 crate.

What works

  • Reading the gyroscope and temperature sensor
  • Reading the WHO_AM_I register

TODO

  • Make sure this works with the spidev crate (i.e. with the Raspberry Pi)
  • Configuration. e.g. selecting the gyroscope sensing range / sensitivity.
  • How to make the API compatible with device specific features like DMA and interrupts?
  • ???

Examples

You should find at least one example in the f3 crate.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~71KB