usbrh

Crates.iousbrh
lib.rsusbrh
version0.1.0
sourcesrc
created_at2018-06-09 02:42:38.198116
updated_at2018-06-09 02:42:38.198116
descriptionA small tool and library for the USBRH (USB-connected temperature and humidity sensor). The USBRH uses Sensirion SHT11 sensor.
homepage
repositoryhttps://bitbucket.org/yshryk/usbrh-rs
max_upload_size
id69277
size25,054
yshryk (yshryk)

documentation

https://docs.rs/usbrh/

README

usbrh

A small tool and library for the USBRH (USB-connected temperature and humidity sensor).

The USBRH is a product of Strawberry Linux. It uses Sensirion SHT11 sensor.

https://strawberry-linux.com/catalog/items?code=52001

Install

# If you are using openSUSE
% sudo zypper install libusb-1_0-devel
# or if you are using Ubuntu
% sudo apt install libusb-dev

% cargo build --release
% sudo install -s target/release/usbrh /usr/local/bin

or

% cargo install usbrh

Usage

% usbrh --help
% sudo usbrh
temperature    humidity
25.02    60.00

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.

Acknowledgements

Resources

Commit count: 0

cargo fmt