# 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.
419c8401f928c1a7cb6d9c0558c7282f5230693a
idf.py add-dependency "espp/pid^1.4.1"