DEPENDENCY LIBS for build: WiringPi
Read data from DHT11 or DHT22 for RaspberryPi.
For connection using pinout GPIO4 (7 pin for Raspberry PI 3)
Install and Test:
- sudo apt-get install wiringpi
- git clone https://github.com/Antowka/DHTLIB.git
- cd DHTLIB
- make clean && make && make test
- sudo cp libdht.a /usr/lib
- sh rebuild.sh
- ./test