PID Library

SetOutputLimits()

Description

The PID controller is designed to vary its output within a given range. By default this range is 0-255: the arduino PWM range. There's no use sending 300, 400, or 500 to the PWM. Depending on the application though, a different range may be desired.

Syntax

SetOutputLimits(min, max)

Parameters

min: Low end of the range. must be < max (double)
max: High end of the range. must be > min (double)

Returns

None

Share