add default delay of 2s
This commit is contained in:
parent
1dfea3fa47
commit
fe804c0d98
4 changed files with 4 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -89,7 +89,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "bme680-json"
|
||||
version = "1.0.3"
|
||||
version = "1.0.4"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bme680",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "bme680-json"
|
||||
version = "1.0.3"
|
||||
version = "1.0.4"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -12,5 +12,5 @@ Then run:
|
|||
|
||||
```bash
|
||||
bme680-json
|
||||
{"temperature":32.66,"pressure":622.29,"humidity":100.0,"gas_resistance":802874}
|
||||
{"temperature":23.55,"pressure":991.04,"humidity":60.444,"gas_resistance":1443025}
|
||||
```
|
|
@ -24,7 +24,7 @@ struct Args {
|
|||
i2c_address: String,
|
||||
|
||||
/// Delay reading by the specified amount in milliseconds.
|
||||
#[arg(long, default_value_t = 1000)]
|
||||
#[arg(long, default_value_t = 2000)]
|
||||
delay: u32
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue