embedded-sensors

Crates.ioembedded-sensors
lib.rsembedded-sensors
version0.1.1
sourcesrc
created_at2021-04-15 11:17:18.243722
updated_at2021-04-16 13:46:52.11143
descriptionSensors in one place, with only one feature away.
homepage
repositoryhttps://github.com/niiyachiru/embedded-sensors
max_upload_size
id384766
size66,029
(justdimaa)

documentation

README

embedded-sensors

Sensors in one place, with only one feature away.

How to use

You will need to add the dependency to your Cargo.toml:

[dependencies]
embedded-sensors = "0.1.0"

Generally all supported sensors are enabled when you bind the crate into your project. To disable all sensors you don't want to use, you have to set default-features = false and specify the sensors that you do want to use in the features = ["..."] field, for example:

[dependencies]
embedded-sensors = { version = "0.1.0", default-features = false, features = ["mpu925x", "ublox"] }

Supported sensors

Feature Sensors
ak8963 AK8963
bh1750 BH1750
mpu6500 MPU6500
mpu925x MPU9250
ublox NEO-6M

Please submit an issue or a pull request for a sensor that you want to use, but is not listed in here.

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.

Commit count: 9

cargo fmt