# PID (Proportional-Integral-Derivative) Feedback Control Component [](https://components.espressif.com/components/espp/pid) The `PID` component provides a simple, thread-safe class representing a PID controller. It tracks how frequently its `update()` method is called and can have its gains change dynamically. ## Example The [example](./example) shows how to use the `espp::Pid` class to perform closed-loop feedback control using proportional-integral-derivative (PID) control.
6b9c84fc1a7f355784bd1c94c9348b8a45775142
idf.py add-dependency "espp/pid^1.0.19"