PowerBroker2 / ArduPID

PID library for Arduinos with greater accuracy than the legacy Arduino PID library
MIT License
85 stars 23 forks source link

can setpoint be changed? #8

Closed kakerlaka closed 1 year ago

kakerlaka commented 1 year ago

hello,

is it possible to change the setpoint to a different value in a running controller? lets say i.e. set setpoint to 100 and then, after 5 hrs set setpoint to 200

thank you very much, for the lib and the reply :)

PowerBroker2 commented 1 year ago

Yes, all you need to do is update the value of the variable used for the setpoint

kakerlaka commented 1 year ago

Yes, all you need to do is update the value of the variable used for the setpoint

sorry for wasting your time, i realized the stupidity of my question after i read your reply, lol

thanks again for both, the answer and the lib

PowerBroker2 commented 1 year ago

Not a stupid question, glad to help!