Playground.arduino.cc will be read-only starting December 31st, 2018. For more info please look at this Forum Post

PID Library

Display Functions

GetKp()
GetKi()
GetKd()
GetMode()
GetDirection()

Decription

These functions query the PID internals to get current values. These are useful for display purposes.

Syntax

GetKp()
GetKi()
GetKd()
GetMode()
GetDirection()

Parameters

None

Returns

The corresponding internal value