Home
last modified time | relevance | path

Searched full:dht22 (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.6.0/samples/sensor/dht/src/
Dmain.c35 const struct device *const dht22 = DEVICE_DT_GET_ONE(aosong_dht); in main() local
37 if (!device_is_ready(dht22)) { in main()
38 printf("Device %s is not ready\n", dht22->name); in main()
43 int rc = sensor_sample_fetch(dht22); in main()
53 rc = sensor_channel_get(dht22, SENSOR_CHAN_AMBIENT_TEMP, in main()
56 rc = sensor_channel_get(dht22, SENSOR_CHAN_HUMIDITY, in main()
/Zephyr-Core-3.6.0/dts/bindings/sensor/
Daosong,dht.yaml10 DHT22 replaces the thermistor with a DS18B20 1-wire thermometer.
12 The DHT22 is also known as an AM2303.
28 dht22:
31 Set to identify sensor as a DHT22/AM2303. Leave unset to identify
/Zephyr-Core-3.6.0/samples/sensor/dht/boards/
Dnrf52dk_nrf52832.overlay8 dht22 {
12 dht22;
Dlongan_nano.overlay6 dht22 {
/Zephyr-Core-3.6.0/tests/drivers/build_all/sensor/
Dgpio.dtsi14 test_gpio_dht22: dht22 {
18 /* dht22; */
/Zephyr-Core-3.6.0/drivers/sensor/dht/
Ddht.c175 if (IS_ENABLED(DT_INST_PROP(0, dht22))) { in dht_channel_get()