Hi everybody,
I am trying to control the speed of a DC motor with Teency 3.5 by reading data from the encoder.
Everything seems working but, when the motor reaches the setpoint speed the PID.Compute function is blocking and the motor stops moving.
My question is: which should be the output of the myPID.Compute(); function when the setpoint speed is reached?
Thank you.
I am trying to control the speed of a DC motor with Teency 3.5 by reading data from the encoder.
Everything seems working but, when the motor reaches the setpoint speed the PID.Compute function is blocking and the motor stops moving.
My question is: which should be the output of the myPID.Compute(); function when the setpoint speed is reached?
Thank you.