Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PID output from MIN value to MAX value. #6

Open
Invtsol opened this issue Jun 23, 2024 · 0 comments
Open

PID output from MIN value to MAX value. #6

Invtsol opened this issue Jun 23, 2024 · 0 comments

Comments

@Invtsol
Copy link

Invtsol commented Jun 23, 2024

I am in application where I need PID output from 10 to 1000;

in I declare function like this

PID_SetOutputLimits(&TPID37, 10, 1000);

then pin start with max Output value is 1000 (max) when Setpoint and Current temp is max and vice versa

but I need minimum Output value when Setpoint and Current temp is max and vice versa

so I declare function like this
PID_SetOutputLimits(&TPID37, 10000, 10);

but no luck Outout value is start from 255 dont know why.
yes I can use map function but is there any option in library itself to do so.

thanks for help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant