mirror of
https://github.com/icewind1991/mhz19-rs
synced 2026-06-03 09:34:12 +02:00
also add licence info to readme
This commit is contained in:
parent
7f2cc23fd6
commit
13edafcf0a
1 changed files with 17 additions and 1 deletions
18
README.md
18
README.md
|
|
@ -11,4 +11,20 @@ fn main() {
|
||||||
let mut mhz19 = MHZ19::open("/dev/ttyUSB0").unwrap();
|
let mut mhz19 = MHZ19::open("/dev/ttyUSB0").unwrap();
|
||||||
println!("CO₂ readout: {} ppm", mhz19.read().unwrap());
|
println!("CO₂ readout: {} ppm", mhz19.read().unwrap());
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
Licensed under either of
|
||||||
|
|
||||||
|
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)
|
||||||
|
* MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue