You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can we change the setpoint, the desired value to achieve, dynamically in the loop(). I want to change the value of setpoint depending on an input the user gives. Is it simply just running controller.begin() again? Or is that wrong?
The text was updated successfully, but these errors were encountered:
All you need to do is change the value of the variable you're using to save the setpoint in. The library uses pointers to monitor parameters like the setpoint, so controller.begin() is only necessary once (for setting up the controller).
How can we change the setpoint, the desired value to achieve, dynamically in the loop(). I want to change the value of setpoint depending on an input the user gives. Is it simply just running controller.begin() again? Or is that wrong?
The text was updated successfully, but these errors were encountered: