PwmRead Arduino library to read a PWM value through a low pass filter and buffer the value Just download and extract to the Arduino/libraries folder