Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tdicola committed Oct 13, 2015
2 parents 15020aa + 572347f commit edcd0e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.txt → README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
This is an Arduino library for the DHT series of low cost temperature/humidity sensors.

To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder DHT. Check that the DHT folder contains DHT.cpp and DHT.h. Place the DHT library folder your <arduinosketchfolder>/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.
Tutorial: https://learn.adafruit.com/dht

To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder DHT. Check that the DHT folder contains DHT.cpp and DHT.h. Place the DHT library folder your <arduinosketchfolder>/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.
4 changes: 2 additions & 2 deletions examples/DHTtester/DHTtester.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include "DHT.h"

#define DHTPIN 2 // what pin we're connected to
#define DHTPIN 2 // what digital pin we're connected to

// Uncomment whatever type you're using!
//#define DHTTYPE DHT11 // DHT 11
#define DHTTYPE DHT22 // DHT 22 (AM2302)
#define DHTTYPE DHT22 // DHT 22 (AM2302), AM2321
//#define DHTTYPE DHT21 // DHT 21 (AM2301)

// Connect pin 1 (on the left) of the sensor to +5V
Expand Down

0 comments on commit edcd0e0

Please sign in to comment.