Have PWM working