What steps will reproduce the problem?
Using library with Arduino >= 1.0
Code using this library fails to compile with a "file not found error' for the
WProgram.h header file.
Arduino version 1.0 renamed the WProgram.h file to Arduino.h.
This code should fix the problem...
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
The line can be removed altogether from CAN.cpp since it'll get included
properly from CAN.h
Original issue reported on code.google.com by phil.bir...@gmail.com on 17 Jan 2013 at 2:48
Original issue reported on code.google.com by
phil.bir...@gmail.com
on 17 Jan 2013 at 2:48