Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 832 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 832 Bytes

Driver for DHT22/AM2302 Temperature and humidity sensors on Raspberry Pi

Install and Usage

./configure
make
sudo ./rpi_dht22 pin1 [pin2...]
Pin = 7, Humidity = 55.4 %, Temperature = 16.6 °C

License

Public domain. Do what you want. No warranties.

Options

./configure options:

  • --disable-silent-rules Show the make process (silent by default)
  • --disable-secure Disable compile with FORTIY_SOURCE and stack-protector (enabled by default)
  • --enable-development Compile with -g -O0 -Wall. Applies disable-secure automatically

autogen.sh: Autoconf boostrap. Development use only.