This is a rust embedded-hal
driver for the Sensirion SHT40 temperature and relative-humidity sensor.
The driver is developed against the unstable 1.0.0 version of embedded-hal (currently supporting embedded-hal-1.0.0-alpha.6). As such, it should also be considered unstable.
For a driver version supporting the older, stable version of embedded-hal (0.2.6) please checkout the deps/hal-0.2.6 branch.
- At the moment, the driver is feature-complete, supporting all the commands that can be sent to the sensor.
- The driver should work with other sensors from the SHT4x family (like SHT41 or SHT45) but this has not been tested.
The crate is dually licensed under Apache License, Version 2.0 or the BSD 3-clause license (you can choose under which of the two licenses you use the code).
If you want to contribute code to this project, you accept that any code you submit shall be dually licensed as above, with your copyright details added to the relevant source files.