Interrupt driven DHT11 & DHT22 library
PURPOSE: Interrupt driven Lib for DHT11 and DHT22 with Arduino.
LICENCE: GPL v3 (http://www.gnu.org/licenses/gpl.html)
Based on idDHT11 library: https://github.com/niesteszeck/idDHT11
Based on DHTLib library: http://playground.arduino.cc/Main/DHTLib
Based on code proposed: https://forum.arduino.cc/index.php?topic=175356.0
- fork from idDHT11 lib
- change names to idDHTLib
- added DHT22 functionality
- Optimization on shift var (pylon from Arduino Forum)
- Timing correction to finally work properly on DHT22 (Dessimat0r from Arduino forum)
Thanks to Dessimat0r we finally can say that is ready, please try it and if you have some trouble I'll glad to accept changes that solve this problems.