GitXplorerGitXplorer
j

lsm303dlhc

public
12 stars
9 forks
3 issues

Commits

List of commits on branch master.
Unverified
1eb0341c35cba4782869490e41c2fb573434b82c

Auto merge of #3 - japaric:odr, r=japaric

hhomunkulus committed 7 years ago
Unverified
e889408f3ff3a83285deaa2366c5d3112c53f0e0

add methods to change the output data rate

jjaparic committed 7 years ago
Unverified
5fcad4f9865f9480ca171fbeb6b204368c9bc86a

v0.1.1

jjaparic committed 7 years ago
Unverified
83fddb121e614857872887397a18ed5d675f8fba

fix crate description

jjaparic committed 7 years ago
Unverified
b32c105156bfcad9a6ce32d7e67495a2a02dbe33

v0.1.0

jjaparic committed 7 years ago
Unverified
cbcd9f2d84cd6e6b291e89a477b6180e7f3fca8d

fix documentation of `Sensitivity`

jjaparic committed 7 years ago

README

The README file for this repository.

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.