#gyroscope #mems #embedded-hal-driver

no-std l3gd20

A platform agnostic driver to interface the L3GD20 (gyroscope)

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

#1541 in Embedded development

Download history 83/week @ 2023-11-20 57/week @ 2023-11-27 62/week @ 2023-12-04 66/week @ 2023-12-11 76/week @ 2023-12-18 58/week @ 2023-12-25 34/week @ 2024-01-01 96/week @ 2024-01-08 76/week @ 2024-01-15 58/week @ 2024-01-22 35/week @ 2024-01-29 68/week @ 2024-02-05 80/week @ 2024-02-12 161/week @ 2024-02-19 119/week @ 2024-02-26 98/week @ 2024-03-04

472 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