Arduino-PID-Library icon indicating copy to clipboard operation
Arduino-PID-Library copied to clipboard

Error with WProgram.h

Open ginobvhc opened this issue 10 years ago • 2 comments

I have an error when compiling. the solution is to change the line

include <WProgram.h>

To

include <Arduino.h>

On PIDlib.cpp

Or

if defined(ARDUINO) && ARDUINO >= 100

include "Arduino.h"

else

include "WProgram.h"

endif

ginobvhc avatar Aug 09 '15 15:08 ginobvhc

This shows this library isn't being maintained for a long time...

q2dg avatar Aug 20 '15 13:08 q2dg

The library does not, nor from the commit history has it ever had that problem. In fact, it doesn't even contain a file named PIDlib.cpp.

per1234 avatar Oct 22 '17 08:10 per1234