Searched full:dht22 (Results 1 – 6 of 6) sorted by relevance
35 const struct device *const dht22 = DEVICE_DT_GET_ONE(aosong_dht); in main() local37 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()
10 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
8 dht22 {12 dht22;
6 dht22 {
14 test_gpio_dht22: dht22 {18 /* dht22; */
175 if (IS_ENABLED(DT_INST_PROP(0, dht22))) { in dht_channel_get()