From 31b6b4535204d168eea31d6034b66be42e1cfb55 Mon Sep 17 00:00:00 2001 From: Ladyada Date: Wed, 22 Jun 2011 16:28:22 -0400 Subject: [PATCH] clarified the pullup --- examples/DHTtester/DHTtester.pde | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/DHTtester/DHTtester.pde b/examples/DHTtester/DHTtester.pde index 3530804..8f40790 100644 --- a/examples/DHTtester/DHTtester.pde +++ b/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);