Analog input: PWM

To convert a PWM signal to a true analog voltage it has to pass through a low pass filter. That can be as simple as a resistor/cap filter to a op-amp active filter. Search around the site you should fine something on using a low pass filter.

Lefty