You are on page 1of 1

//

//
//
//
//
//
//
//
//
//
//
//
//
//

FILE:
VERSION:
PURPOSE:
LICENSE:

dht11.h
0.4.1
DHT11 Temperature & Humidity Sensor library for Arduino
GPL v3 (http://www.gnu.org/licenses/gpl.html)

DATASHEET: http://www.micro4you.com/files/sensor/DHT11.pdf
URL: http://playground.arduino.cc/Main/DHT11Lib
HISTORY:
George Hadjikyriacou - Original version
see dht.cpp file

#ifndef dht11_h
#define dht11_h
#if defined(ARDUINO) && (ARDUINO >= 100)
#include <Arduino.h>
#else
#include <WProgram.h>
#endif
#define DHT11LIB_VERSION "0.4.1"
#define DHTLIB_OK
#define DHTLIB_ERROR_CHECKSUM
#define DHTLIB_ERROR_TIMEOUT
class dht11
{
public:
int read(int pin);
int humidity;
int temperature;
};
#endif
//
// END OF FILE
//

0
-1
-2

You might also like