Arduino Playground is read-only starting December 31st, 2018. For more info please look at this Forum Post

PID Autotune Library

SetLookbackSec()

GetLookbackSec()

Description

Gets / Sets How far back the tuner will look when determining if this point is, in fact, a min or a max

Syntax

SetLookbackSec(seconds)
GetLookbackSec()

Parameters

seconds: integer. think about how far apart the peaks are. 1/4-1/2 of this distance is a good value

Returns

GetLookbackSec returns current look-back value