Updating to new sc_pwm