I try to do for this program controled by a sensor, a manual control using the entries i1 and i2
Auto Part I managed to do it.
We added noise filters possible.
I can not make a control manual, which override the sensor command.
I want to use two inputs (i1 and i2).
I1 to increase. For example, if the sensor value is 450, then clicking on i1, to increase the value gradually (not suddenly) up disable input i1.
After disabling i1, the value to remain in place.
Also for i2, only the value decreases.
Plus another input (I3) to switch between automatic or manual control.
for example, i3 = 0, then control is automatic, for i3 = 1 then control is manual.
Please, help me add and manual control.