SampleTime=100;//defaultControllerSampleTimeis0.1secondsPID::SetControllerDirection(ControllerDirection);PID::SetTunings(Kp,Ki,Kd);lastTime=millis()-SampleTime;inAuto=false;myOutput=Output;myInput=Input;mySetpoint=Setpoi