Skip to content

Reads data from DHT11/DHT21/DHT22/AM2302 temperature-humidity sensor on BananaPi M1 single-board computer without sleep()'s.

License

Notifications You must be signed in to change notification settings

michaelkl/readDHT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readDHT

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

About

Reads data from DHT11/DHT21/DHT22/AM2302 temperature-humidity sensor on BananaPi M1 single-board computer without sleep()'s.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published