PID Library

Compute()

Description

Contains the pid algorithm. it should be called once every loop(). Most of the time it will just return without doing anything. At a frequency specified by SetSampleTime it will calculate a new Output.

Syntax

Compute()

Parameters

None

Returns

True: when the output is computed
False: when nothing has been done

Share