you should make a RC low pass filter with a resistor and a capacitor and then connect to a analogPin
A more in depth backgrounder - http://www.proaxis.com/~wagnerj/PWMfil/PWM%20Filters.pdf -
you should make a RC low pass filter with a resistor and a capacitor and then connect to a analogPin
A more in depth backgrounder - http://www.proaxis.com/~wagnerj/PWMfil/PWM%20Filters.pdf -