PID.setControllerDirection

Name
PID.setControllerDirection

Description

 * void PID.setControllerDirection( int Direction )
 * The PID will either be connected to a DIRECT acting process (+Output leads to +Input) or a REVERSE acting process(+Output leads to -Input.) we need to know which one, because otherwise we may increase the output when we should be decreasing.

Syntax
PID.setControllerDirection( Direction );


 * Parameters
 * Direction - DIRECT (like a car) or REVERSE (like a refrigerator)


 * Returns/Outputs
 * None