Don't have Telegram yet? Try it now!
http://uditagarwal.in/index.php/2017/09/03/diy-generating-ramp-sawtooth-from-pwm/
DIY: Generating Ramp/Sawtooth from PWM