added missing animation frames for rotation
[Arduino] / libraries / DHT11 / dht11.h
1 // 
2 //    FILE: dht11.h
3 // VERSION: 0.4.1
4 // PURPOSE: DHT11 Temperature & Humidity Sensor library for Arduino
5 // LICENSE: GPL v3 (http://www.gnu.org/licenses/gpl.html)
6 //
7 // DATASHEET: http://www.micro4you.com/files/sensor/DHT11.pdf
8 //
9 //     URL: http://playground.arduino.cc/Main/DHT11Lib
10 //
11 // HISTORY:
12 // George Hadjikyriacou - Original version
13 // see dht.cpp file
14 // 
15
16 #ifndef dht11_h
17 #define dht11_h
18
19 #if defined(ARDUINO) && (ARDUINO >= 100)
20 #include <Arduino.h>
21 #else
22 #include <WProgram.h>
23 #endif
24
25 #define DHT11LIB_VERSION "0.4.1"
26
27 #define DHTLIB_OK                               0
28 #define DHTLIB_ERROR_CHECKSUM   -1
29 #define DHTLIB_ERROR_TIMEOUT    -2
30
31 class dht11
32 {
33 public:
34     int read(int pin);
35         int humidity;
36         int temperature;
37 };
38 #endif
39 //
40 // END OF FILE
41 //