Add PWM support to pin.save