Sets the specified Pin to the specified PWN duty cycle and frequency. More information on PWM can be found here.