Open williamdes opened 2 years ago
This crate is awesome but without a bit more for the example it can be difficult to try it simply
The i2cdetect command on the README is very helpful !
For example I was running cargo run --release and did not see any output but it needed RUST_LOG=info cargo run --release
cargo run --release
RUST_LOG=info cargo run --release
Cargo dependencies should be written in a Cargo.toml file for example so you do not have to pick them one by one until it compiles
[dependencies] bme680 = "0.6.0" embedded-hal = "0.2.6" linux-embedded-hal = "0.3.0" log = "0.4.14" env_logger = "0.9.0"
Conclusion: with dependencies and RUST_LOG=info it works !
RUST_LOG=info
THANK YOU for saving me from the Python HELL !
It created a micro project that works very well: https://github.com/williamdes/bme680-zabbix_sender Thank you also to @ava57r for the Zabbix sender
This crate is awesome but without a bit more for the example it can be difficult to try it simply
The i2cdetect command on the README is very helpful !
For example I was running
cargo run --release
and did not see any output but it neededRUST_LOG=info cargo run --release
Cargo dependencies should be written in a Cargo.toml file for example so you do not have to pick them one by one until it compiles
Conclusion: with dependencies and
RUST_LOG=info
it works !THANK YOU for saving me from the Python HELL !