Using a PWM output as a DAC

pwm_daca.pdf