add readme.md
This commit is contained in:
parent
46cbd20b6c
commit
6331b5be16
3 changed files with 30 additions and 14 deletions
26
Cargo.lock
generated
26
Cargo.lock
generated
|
@ -85,7 +85,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
|
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bme-680-json"
|
name = "bme680"
|
||||||
|
version = "0.9.0"
|
||||||
|
source = "git+https://github.com/dnutiu/bme680-rust.git?branch=v0.9.0#31f3a4c4c0d03e4a7f0da9a898f9d25844894773"
|
||||||
|
dependencies = [
|
||||||
|
"anyhow",
|
||||||
|
"bitflags 2.6.0",
|
||||||
|
"embedded-hal",
|
||||||
|
"linux-embedded-hal",
|
||||||
|
"log",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "bme680-json"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -98,18 +110,6 @@ dependencies = [
|
||||||
"serde_json",
|
"serde_json",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "bme680"
|
|
||||||
version = "0.9.0"
|
|
||||||
source = "git+https://github.com/dnutiu/bme680-rust.git?branch=v0.9.0#31f3a4c4c0d03e4a7f0da9a898f9d25844894773"
|
|
||||||
dependencies = [
|
|
||||||
"anyhow",
|
|
||||||
"bitflags 2.6.0",
|
|
||||||
"embedded-hal",
|
|
||||||
"linux-embedded-hal",
|
|
||||||
"log",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "byteorder"
|
name = "byteorder"
|
||||||
version = "1.5.0"
|
version = "1.5.0"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "bme-680-json"
|
name = "bme680-json"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
16
readme.md
Normal file
16
readme.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Bme680 Json
|
||||||
|
|
||||||
|
Bme680 Json is a CLI that helps you gather the measurements of the bme-680 sensor and prints them in JSON format.
|
||||||
|
|
||||||
|
To install the CLI run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo install --git https://github.com/dnutiu/bme-680-json.git
|
||||||
|
```
|
||||||
|
|
||||||
|
Then run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
bme680-json
|
||||||
|
{"temperature":32.66,"pressure":622.29,"humidity":100.0,"gas_resistance":802874}
|
||||||
|
```
|
Loading…
Reference in a new issue