Add an overlay to use DHT11 temperature/humidity sensor in Longan Nano. Signed-off-by: Maxin John <maxin.john@gmail.com>
11 lines
174 B
Text
11 lines
174 B
Text
/*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
dht22 {
|
|
compatible = "aosong,dht";
|
|
status = "okay";
|
|
dio-gpios = <&gpiob 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
};
|
|
};
|