|
Re: Need assistance with setting up a pid output.
The problem is that you are only setting a new value to the motor whenever you press the button, when you don't have the button pressed it just continues on with whatever input it had last. You should probably have the motor speed continuously updated if you are using it with a PID loop.
|