compiling error

Did you include the PID-class definition?

#include<...>

Please add the code next time, otherwise it is more guessing than helping :wink: