Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/iio/humidity/dht11.txt
48525 views
1
* DHT11 humidity/temperature sensor (and compatibles like DHT22)
2
3
Required properties:
4
- compatible: Should be "dht11"
5
- gpios: Should specify the GPIO connected to the sensor's data
6
line, see "gpios property" in
7
Documentation/devicetree/bindings/gpio/gpio.txt.
8
9
Example:
10
11
humidity_sensor {
12
compatible = "dht11";
13
gpios = <&gpio0 6 0>;
14
}
15
16