Skip to content

Commit cffd745

Browse files
Arduino 1.0 compliant
1 parent 31b6b45 commit cffd745

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

DHT.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
2-
#include <WProgram.h>
1+
#if ARDUINO >= 100
2+
#include "Arduino.h"
3+
#else
4+
#include "WProgram.h"
5+
#endif
36

47
/* DHT library
58

0 commit comments

Comments
 (0)