Implemented PWM support in DigitalOutput