Dlloydev / QuickPID

A fast PID controller with multiple options. Various Integral anti-windup, Proportional, Derivative and timer control modes.
MIT License
195 stars 50 forks source link

How to work with input output and setpoint of type float? #3

Closed gnalbandian closed 3 years ago

gnalbandian commented 3 years ago

Hi @Dlloydev, I'm interested in trying your library with a project of mine which already uses @br3ttb library.

The problem is that my input, output and setpoint are of type float. I understand the speed gained by using int type, but is there any workaround to make you library backward compatible with @br3ttb's?

Thanks!

Dlloydev commented 3 years ago

I've now updated the code to version 2.2.6 ... changed input, output and setpoint to type float to improve compatibility with no impact on speed.

Also, a recent compile issue due to the previous update for ESP32 has been resolved. Thanks for trying this library!