Updated to add PWM support.