Not sure what the difference between wiring.h and Wprogram.h is, but this did the trick:
#if defined(ARDUINO) && ARDUINO >= 100
#include <arduino.h>
#else
#include <wiring.h>
#endif
Thanks
Not sure what the difference between wiring.h and Wprogram.h is, but this did the trick:
#if defined(ARDUINO) && ARDUINO >= 100
#include <arduino.h>
#else
#include <wiring.h>
#endif
Thanks