Added demo patch for PWM port control.