New Search

If you are not happy with the results below please do another search

1 search result for:

1

Arduino Nano +DHT22

#include “DHT.h” #define DHTPIN 2 // what pin we’re connected to #define DHTTYPE DHT22 // DHT 22 (AM2302) DHT dht(DHTPIN, DHTTYPE, 6); void setup() { Serial.begin(9600); Serial.println(“DHTxx test!”); dht.begin(); } void loop() { // Wait a few seconds between measurements. delay(2000); // Reading temperature or humidity takes about 250 milliseconds! // Sensor readings may also […]