docs.rs failed to build dht-sensor-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
dht-sensor-0.2.1
DHT11/DHT22 sensor driver
This library provides a platform-agnostic driver for the DHT11 and DHT22 sensors.
Use one of two functions dht11::Reading::read
and dht22::Reading::read
to get a reading.
Usage
The only prerequisites are an embedded-hal implementation that provides:
Delay
-implementing type, for example Cortex-M microcontrollers typically use theSysTick
.InputOutputPin
-implementing type, for example anOutput<OpenDrain>
fromstm32f0xx_hal
.
See the stm32f042 example for a commented example of how to use the library.