Voltage amplifier

Hey guys,
I just wanted to thank you all for your help, I used the PWM on the micro with an RC filter and the single supply opAmp LM358 and it does exactly what I needed.

I greatly appreciate your help !