13deb0365c
The DHT20 sensor is a temperature and humidity sensor that uses I2C to communicate with a microcontroller. The DHT20 sensor is Aosong. use standard crc update description to add reference to AHT20 and AM2301B clean code, use defines and bit manipulation add dht20 to i2c test suite for build tests update bit manipulation use more defines instead of raw numbers add bindings to allow aht20 or am2301b to be used in devicetree in all 3 cases, the same dht20.c driver is compiled Signed-off-by: Nathan Olff <nathan@kickmaker.net>
15 lines
334 B
YAML
15 lines
334 B
YAML
#
|
|
# Copyright (c) 2024 Nathan Olff
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: |
|
|
Aosong DHT20 (Digital-output Humidity and Temperature Sensor)
|
|
|
|
The Asosong DHT20 sensor provides temperature and humidity
|
|
measurements through an I2C bus.
|
|
|
|
compatible: "aosong,dht20"
|
|
|
|
include: [sensor-device.yaml, i2c-device.yaml]
|