zephyr/samples/sensor/dht/boards/longan_nano.overlay
Maxin John 461cc8c136 samples: sensor: dht: add longan_nano overlay
Add an overlay to use DHT11 temperature/humidity sensor in Longan Nano.

Signed-off-by: Maxin John <maxin.john@gmail.com>
2023-11-13 12:13:12 -05:00

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)>;
};
};