#magnetometer #embedded-hal-driver #mems

no-std mag3110

A platform agnostic driver to interface with the I2C based NXP MAG3110 magnetometer

4 releases

Uses old Rust 2015

0.1.4 Sep 23, 2018
0.1.3 Jun 27, 2018
0.1.2 Feb 24, 2018
0.1.1 Feb 24, 2018

#21 in #magnetometer

0BSD license

7KB
114 lines

mag3110

mag3110 contains an embedded-hal compliant hardware abstraction or driver for the I2C based NXP MAG3110 magnetometer. This chip can e.g. be found on the BBC micro:bit board and an example use can be found in my microbit crate.

The driver is hardware agnostic and should (in theory) work with any implementation of the embedded-hal.

License

0-clause BSD license.


lib.rs:

A driver for the NXP MAG3110 magnetometer

This driver was built using embedded-hal traits.

Examples

You should find at least one example in the microbit crate.

Dependencies

~110KB