Arduino library for the DHT22 humidity and temperature sensor
nethoncho/Arduino-DHT22
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
DHT22.cpp - DHT22 sensor library Developed by Ben Adams - 2011 Humidity and Temperature Sensor DHT22 info found at http://www.sparkfun.com/products/10167 The same sensor has also been spotted going by the names RHT22, AM2302 and RHT03 from a variety of vendors. It uses a non-standard 1-wire digital signalling protocol. To install this library for use with the Arduino IDE, copy it to the `libraries' folder and restart the IDE. For an example of how to use it, see File->Examples->DHT22->Serial . Version 0.5: 15-Jan-2012 by Craig Ringer Update to support Arduino 1.0 Make accessors inlineable so they can be optimised away Preserve original integer values from sensor and offer access to them Permit floating point support to be disalbed by defining DHT22_NO_FLOAT before including DHT22.h Version 0.4: 24-Jan-2011 by Ben Adams Added return code constants to keywords.txt Returns DHT_ERROR_CHECKSUM on check sum mismatch Version 0.3: 17-Jan-2011 by Ben Adams This version reads data Needs check sum code added at the end of readData Version 0.2: 16-Jan-2011 by Ben Adams Changed coding style to match other Arduino libraries. This version will not read data either! Version 0.1: 10-Jan-2011 by Ben Adams nethoncho AT gmail.com First Version is a skeleton. This version will not read data! Code adapted from the following sources: The Arduino OneWire lib http://sheepdogguides.com/arduino/ar3ne1humDHT11.htm
About
Arduino library for the DHT22 humidity and temperature sensor
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published