5 unstable releases

0.3.0 Sep 5, 2020
0.2.0 May 12, 2018
0.1.2 Feb 19, 2018
0.1.1 Jan 17, 2018
0.1.0 Jan 17, 2018

#1732 in Embedded development

Download history 77/week @ 2024-07-22 77/week @ 2024-07-29 68/week @ 2024-08-05 137/week @ 2024-08-12 57/week @ 2024-08-19 58/week @ 2024-08-26 58/week @ 2024-09-02 57/week @ 2024-09-09 68/week @ 2024-09-16 105/week @ 2024-09-23 72/week @ 2024-09-30 18/week @ 2024-10-07 63/week @ 2024-10-14 53/week @ 2024-10-21 82/week @ 2024-10-28 61/week @ 2024-11-04

260 downloads per month
Used in 5 crates (3 directly)

MIT/Apache

15KB
301 lines

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.

Dependencies

~71KB