A DHT22 library working on AVR MCUs, which is able to run multiple DHT22 devices in the same time.
DHT22 (or AM2302) is a low-cost digital temperature and humidity sensor to measure the temperature and relative humidity in the air.
- Platform: AVR MCUs
- avr-libc: the standard library AVR-GCC compiler using
- Include the
dht22.h
- Use
dht22_init()
to specify the port, pin ,ddr and bit the DHT22 device using - Use
dht22_getdata()
to get the temperature and relative humidity from DHT22
dht22-avrlibc
is released under the MIT license. Use of this source code is
governed by a MIT-style license that can be found in the LICENSE file.