Hello mark_s,

Thank you for your quick reply, it is exactly what I was looking for.

I Know need to adjust my pwm duty cycle with a potentiometer 1K on AN0.
Is 1K enough ?

Can someone help me to understand the process with that A/D module ?
I'm not sure i'm understanding quite well the process.