User Tools

Site Tools


tutorials:learn:sensors:dht.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorials:learn:sensors:dht.html [2011/06/23 00:14]
daigo
tutorials:learn:sensors:dht.html [2011/06/23 00:16]
daigo
Line 86: Line 86:
  
 {{  http://​www.ladyada.net/​images/​sensors/​dhttester.gif?​nolink&​566x600 ​ |}} {{  http://​www.ladyada.net/​images/​sensors/​dhttester.gif?​nolink&​566x600 ​ |}}
 +<class center>
 If you're using a **DHT11** sensor, comment out the line that sets the type: If you're using a **DHT11** sensor, comment out the line that sets the type:
 +<​code>​
  //#​define DHTTYPE DHT22   // DHT 22  (AM2302)  //#​define DHTTYPE DHT22   // DHT 22  (AM2302)
 +</​code>​
 and uncomment the line that says and uncomment the line that says
 +<​code>​
 #define DHTTYPE DHT11   // DHT 11  #define DHTTYPE DHT11   // DHT 11 
 +</​code>​ 
 +</​class>​
  
  
/home/ladyada/public_html/wiki/data/pages/tutorials/learn/sensors/dht.html.txt · Last modified: 2016/01/28 18:05 (external edit)