Arduino-PID-Library
Arduino-PID-Library copied to clipboard
Anything lower than 14 in SetSampleTime() return NAN value
I was trying to set as low sample rate as possible because I need fast reaction times, but I noticed that if I put anything lower than 14 into SetSampleTime() function, PID algorithm outputs NAN to the output variable. Could you please fix this issue? Thank you in advance.
Can't reproduce this. Are you using the newest version?