Adding PWM control as a command