From cffd745009fd7ee28cecdbe8c6fbcdedc427b978 Mon Sep 17 00:00:00 2001 From: Paint Your Dragon Date: Fri, 2 Dec 2011 19:50:02 -0800 Subject: [PATCH] Arduino 1.0 compliant --- DHT.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/DHT.h b/DHT.h index 0e1d544..553329e 100644 --- a/DHT.h +++ b/DHT.h @@ -1,5 +1,8 @@ - -#include +#if ARDUINO >= 100 + #include "Arduino.h" +#else + #include "WProgram.h" +#endif /* DHT library