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

#1658 in Embedded development

Download history 91/week @ 2024-03-11 117/week @ 2024-03-18 78/week @ 2024-03-25 143/week @ 2024-04-01 79/week @ 2024-04-08 166/week @ 2024-04-15 134/week @ 2024-04-22 84/week @ 2024-04-29 91/week @ 2024-05-06 93/week @ 2024-05-13 95/week @ 2024-05-20 89/week @ 2024-05-27 86/week @ 2024-06-03 85/week @ 2024-06-10 97/week @ 2024-06-17 97/week @ 2024-06-24

379 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