Controlling PWM pin

Thanks for thorough explanation.

Cheers