Reads data from DHT11/DHT21/DHT22/AM2302 temperature-humidity sensor on BananaPi M1 single-board computer. The main features if this library are:
- it does not use
usleep()
,nanosleep()
, etc. in the sensor response reading loop - it has no hard-coded timings and counter values
Caution: it has hard-coded GPIO addersses and it's been tested on M1 board version ONLY. If you're using another hardware you can simply deal with it, I think.
It uses 'gpio_lib_A20' library by akarnaukh which is based on 'gpio_lib' library by Stefan Mavrodiev.
(c) 2015 Michael Klimenko