Elimination of PWM noise on LED

the "last" is the one with the inductor am I right?

Yes that's it.

For your worries about the layout, as I said my picture was simplified

No it was the physical layout of your circuit not your schematic that is a worry. Short wires and common point star grounds will minimise the interference as well as not running the cables carrying heavy current close to the processor.