Eaton Interview Question

Write the code to implement a PID controller.