A platform agnostic driver to interface with the L3GD20 (gyroscope)
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ci move to v0.2.0 of embedded-hal May 11, 2018
src move to v0.2.0 of embedded-hal May 11, 2018
.gitignore initial commit Jan 8, 2018
.travis.yml move to v0.2.0 of embedded-hal May 11, 2018
CHANGELOG.md v0.2.0 May 12, 2018
Cargo.toml switch to a published version of embedded-hal May 12, 2018
LICENSE-APACHE initial commit Jan 8, 2018
LICENSE-MIT initial commit Jan 8, 2018
README.md v0.1.0 Jan 17, 2018
bors.toml

README.md

l3gd20

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

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.