How to Solve NameError: name 'PID' is not defined -- simple_pid

Solution: Import the 'PID' module

To Solve the error, add the following line to the top of your code.

from simple_pid import PID

 

For more information:
Python simple_pid PID