Skip to content

justdimaa/embedded-sensors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages