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

Anything lower than 14 in SetSampleTime() return NAN value

Open EdvinasKilbauskas opened this issue 11 years ago • 1 comments

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.

EdvinasKilbauskas avatar Dec 24 '13 09:12 EdvinasKilbauskas

Can't reproduce this. Are you using the newest version?

gregcotten avatar Dec 25 '13 18:12 gregcotten