i3g4250d

Crates.ioi3g4250d
lib.rsi3g4250d
version0.3.0
sourcesrc
created_at2020-11-10 05:53:58.608631
updated_at2020-11-10 05:53:58.608631
descriptionA platform agnostic driver to interface the I3G4250D (gyroscope)
homepage
repositoryhttps://github.com/aditsachde/i3g4250d
max_upload_size
id310657
size28,779
Adit Sachde (aditsachde)

documentation

https://docs.rs/i3g4250d

README

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.

Commit count: 26

cargo fmt