hasselk / digitalwritefast

Automatically exported from code.google.com/p/digitalwritefast
0 stars 0 forks source link

Mods for Arduino 1.0 #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
WProgram.h is no longer in Arduino 1.0. 

The following change for header files seems to work on 0022 and 1.0.

#if ARDUINO >= 100
#include <Arduino.h>
#else
#include "WProgram.h" 
#include <wiring.h>
#endif

Original issue reported on code.google.com by Bill.Gre...@gmail.com on 24 Dec 2011 at 2:04