PID control library for Particle Adapted from Brett Beauregard's Arduino PID Library For a thorough explanation of the library's workings, see http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/