Blog

FHEM: DHT22

// A web server to control the arduino via FHEM
#include "etherShield.h"
#include "ETHER_28J60.h"
#include "DHT.h"

#define DHTPIN 9
#define DHTTYPE DHT22 //DHT11, DHT21, DHT22

int sensorValue = 0;
int sensorVal = 0;

Seiten