Modifications

Sauter à la navigation Sauter à la recherche
22 octets ajoutés ,  16 avril 2013 à 20:29
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{DHTxx-NAV}}
 
{{DHTxx-NAV}}
   −
To test the sketch, we'll use an Arduino. You can use any micrcontroller that can do microsecond timing, but since its a little tricky to code it up, we suggest verifying the wiring and sensor work with an Arduino to start.
+
{{bloc-etroit|text=To test the sketch, we'll use an Arduino. You can use any micrcontroller that can do microsecond timing, but since its a little tricky to code it up, we suggest verifying the wiring and sensor work with an Arduino to start.
    
[http://learn.adafruit.com/dht/downloads Begin by downloading the DHT library from our github repository]. To download, click the '''DOWNLOADS''' button in the top right corner. Rename the uncompressed folder '''DHT''' and make sure that it contains the '''dht.cpp''' file and others. Then drag the '''DHT''' folder into the '''arduinosketchfolder/libraries/''' folder. You may have to create that libraries sub-folder if it doesnt exist. Restart the IDE
 
[http://learn.adafruit.com/dht/downloads Begin by downloading the DHT library from our github repository]. To download, click the '''DOWNLOADS''' button in the top right corner. Rename the uncompressed folder '''DHT''' and make sure that it contains the '''dht.cpp''' file and others. Then drag the '''DHT''' folder into the '''arduinosketchfolder/libraries/''' folder. You may have to create that libraries sub-folder if it doesnt exist. Restart the IDE
 +
}}
    
Now load up the '''Examples->DHT->DHTtester''' sketch
 
Now load up the '''Examples->DHT->DHTtester''' sketch
29 917

modifications

Menu de navigation