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

PID Autotune Library

SetControlType()

GetControlType()

Description

Gets / Sets whether PI or PID tuning parameters will be returned when GetKp et al are called.

Syntax

SetControlType(type)
GetControlType()

Parameters

type: 0 = PI, 1 = PID

Returns

GetControlType returns the control type