Shake to start.
You can change the duty cycle to output a voltage between 0V and 5 V.
Update : I have replaced the triangle generator by a self made one in order to enable time scale setting. However the PWM will not be accurate if you increase the speed too much (bad rendering of the triangle signal), 10ms/s looks fine.