Skip to content

A platform agnostic driver to interface with the LSM303DLHC (accelerometer + compass)

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

japaric/lsm303dlhc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lsm303dlhc

A platform agnostic driver to interface with the LSM303DLHC (accelerometer + compass)

What works

  • Reading the accelerometer
  • Reading the compass and temperature sensor

TODO

  • Make sure this works with the i2cdev crate (i.e. with the Raspberry Pi)
  • Configuration. e.g. selecting the accelerometer / compass 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.

About

A platform agnostic driver to interface with the LSM303DLHC (accelerometer + compass)

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages