Permalink
Browse files

Arduino 1.0 compliant

  • Loading branch information...
PaintYourDragon committed Dec 3, 2011
1 parent b643d51 commit 57c43335defaeca2bc66b2948b3a2e35a9cf0269
Showing with 7 additions and 3 deletions.
  1. +7 −3 HL1606strip.cpp
View
@@ -29,9 +29,13 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <WProgram.h>
-#include <avr/io.h>
-#include "wiring.h"
+#if ARDUINO >= 100
+ #include "Arduino.h"
+#else
+ #include "WProgram.h"
+ #include "avr/io.h"
+ #include "wiring.h"
+#endif
#include "HL1606strip.h"

0 comments on commit 57c4333

Please sign in to comment.