PID Library

SetSampleTime()

Decription

Determines how often the PID algorithm evaluates. The default is 200mS. For robotics applications this may need to be faster, but for the most part 200mS is plenty fast.

Syntax

SetSampleTime(SampleTime)

Parameters

SampleTime: How often, in milliseconds, the PID will be evaluated. (int>0)

Returns

None

Share