Hi,

May be you should add the PWM output, without any filtering it is totally "random" ( short way of saying it ...) as a signal ... so ...

is it really the correct way to achieve a decent "linear" fading ... ???

...

Alain