Merge pull request #4 from Jearil/master

Adding #ifndef DHT_H to header file
This commit is contained in:
Limor "Ladyada" Fried 2012-08-26 18:42:37 -07:00
commit 71ee113a7b

3
DHT.h
View File

@ -1,3 +1,5 @@
#ifndef DHT_H
#define DHT_H
#if ARDUINO >= 100 #if ARDUINO >= 100
#include "Arduino.h" #include "Arduino.h"
#else #else
@ -34,3 +36,4 @@ class DHT {
float readHumidity(void); float readHumidity(void);
}; };
#endif