mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-11 09:12:53 +00:00
Document IO signal behavior, switch to new API. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
16 lines
253 B
Plaintext
16 lines
253 B
Plaintext
/*
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
dht22 {
|
|
compatible = "aosong,dht";
|
|
status = "okay";
|
|
label = "DHT22";
|
|
dio-gpios = <&gpio0 11 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
dht22;
|
|
};
|
|
};
|