diff --git a/PID_v1/PID_v1.cpp b/PID_v1/PID_v1.cpp index bfbad00..6c63016 100644 --- a/PID_v1/PID_v1.cpp +++ b/PID_v1/PID_v1.cpp @@ -32,9 +32,8 @@ PID::PID(double* Input, double* Output, double* Setpoint, SampleTime = 100; //default Controller Sample Time is 0.1 seconds PID::SetControllerDirection(ControllerDirection); - PID::SetTunings(Kp, Ki, Kd); - PID::SetResolution(MILLIS); // Use a resolution of milliseconds by default + PID::SetTunings(Kp, Ki, Kd); }