Permalink
Browse files

clarified the pullup

  • Loading branch information...
1 parent b05219a commit 31b6b4535204d168eea31d6034b66be42e1cfb55 @ladyada ladyada committed Jun 22, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 examples/DHTtester/DHTtester.pde
@@ -6,13 +6,14 @@
#define DHTPIN 2 // what pin we're connected to
// Uncomment whatever type you're using!
-//#define DHTTYPE DHT11 // DHT 11 works
+//#define DHTTYPE DHT11 // DHT 11
#define DHTTYPE DHT22 // DHT 22 (AM2302)
//#define DHTTYPE DHT21 // DHT 21 (AM2301)
// Connect pin 1 (on the left) of the sensor to +5V
// Connect pin 2 of the sensor to whatever your DHTPIN is
// Connect pin 4 (on the right) of the sensor to GROUND
+// Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor
DHT dht(DHTPIN, DHTTYPE);

0 comments on commit 31b6b45

Please sign in to comment.