Closed ator1811 closed 2 months ago
Hi, I want to use the PID library with CircuitPython.
I try to set the output limits from -1 to 1 pid.output_limits = (-1, 1)
pid.output_limits = (-1, 1)
The negative value of the lowerlimit is changed to a positive number print(pid.output_limits)
print(pid.output_limits)
Returns code.py output: ( 1, 1)
code.py output: ( 1, 1)
Is this an error or are negative lower limits not allowed? Regards, Aernout
not applicable. SOmehow minus signs were not printed
Hi, I want to use the PID library with CircuitPython.
I try to set the output limits from -1 to 1
pid.output_limits = (-1, 1)
The negative value of the lowerlimit is changed to a positive number
print(pid.output_limits)
Returns
code.py output: ( 1, 1)
Is this an error or are negative lower limits not allowed? Regards, Aernout