PID control library for Spark Core, adapted from br3ttb/Arduino-PID-Library